Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 164.5 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 48.39 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1053, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.00302/0.1083, allocations: 1.615 MB / 380.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1094, allocations: 0.5337 MB / 381.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.1095, allocations: 0 / 381.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.1096, allocations: 7.875 kB / 381.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.1097, allocations: 15.86 kB / 381.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.11, allocations: 63.69 kB / 381.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1101, allocations: 59.78 kB / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1102, allocations: 15.92 kB / 381.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1104, allocations: 35.8 kB / 381.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.1104, allocations: 27.84 kB / 381.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1105, allocations: 8 kB / 381.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.819e-05/0.1105, allocations: 4 kB / 381.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.1106, allocations: 19.92 kB / 381.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.1106, allocations: 15.88 kB / 381.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1107, allocations: 79.53 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1107, allocations: 0 / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1107, allocations: 3.938 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1108, allocations: 0 / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005059/0.1113, allocations: 306 kB / 381.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1113, allocations: 12.02 kB / 381.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.1114, allocations: 24.89 kB / 381.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1117, allocations: 154.2 kB / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1117, allocations: 384 / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1117, allocations: 8.125 kB / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.112, allocations: 130.7 kB / 382 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1121, allocations: 7.984 kB / 382 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1121, allocations: 11.94 kB / 382 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1121, allocations: 4 kB / 382 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.308e-05/0.1122, allocations: 23.92 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.1125, allocations: 235.1 kB / 382.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1127, allocations: 90.42 kB / 382.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.822e-05/0.1128, allocations: 47.42 kB / 382.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1128, allocations: 8 kB / 382.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1128, allocations: 30.56 kB / 382.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1128, allocations: 0 / 382.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003166/0.1132, allocations: 101.5 kB / 382.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.1133, allocations: 136.5 kB / 382.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1134, allocations: 142.4 kB / 382.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1134, allocations: 34.2 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.1135, allocations: 88.14 kB / 383 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1135, allocations: 15.89 kB / 383 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.1136, allocations: 25.66 kB / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1137, allocations: 318.8 kB / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/0.1137, allocations: 15.92 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.1138, allocations: 44.28 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1139, allocations: 68.22 kB / 383.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1139, allocations: 0 / 383.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001704/0.1141, allocations: 85.5 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1141, allocations: 4 kB / 383.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1141, allocations: 0 / 383.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1142, allocations: 4 kB / 383.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.1142, allocations: 11.98 kB / 383.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.1143, allocations: 8.156 kB / 383.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.1143, allocations: 7.938 kB / 383.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1143, allocations: 7.938 kB / 383.6 MB, free: 10.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.376e-05/0.1144, allocations: 117.8 kB / 383.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.1145, allocations: 57.58 kB / 383.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.1145, allocations: 15.95 kB / 383.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1145, allocations: 0 / 383.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.1145, allocations: 4 kB / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1146, allocations: 0 / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1147, allocations: 129.2 kB / 383.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1147, allocations: 0 / 383.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/0.1148, allocations: 19.92 kB / 383.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1148, allocations: 0 / 383.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1148, allocations: 8 kB / 383.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1148, allocations: 0 / 383.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1148, allocations: 128 / 383.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1151, allocations: 205.9 kB / 384.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1151, allocations: 15.94 kB / 384.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1151, allocations: 7.984 kB / 384.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.1152, allocations: 11.94 kB / 384.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.1152, allocations: 4 kB / 384.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1152, allocations: 4 kB / 384.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.254e-05/0.1153, allocations: 114.2 kB / 384.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1153, allocations: 4 kB / 384.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1156, allocations: 8 kB / 384.3 MB, free: 9.957 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.4e-05/0.1157, allocations: 99.19 kB / 384.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1158, allocations: 51.97 kB / 384.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1158, allocations: 0 / 384.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/0.1159, allocations: 15.92 kB / 384.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.1163, allocations: 35.94 kB / 384.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.1167, allocations: 201.8 kB / 384.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.397e-05/0.1168, allocations: 88.59 kB / 384.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.1168, allocations: 8 kB / 384.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.1168, allocations: 12.5 kB / 384.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1168, allocations: 0 / 384.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of Templates: time 0.003631/0.1205, allocations: 0.7769 MB / 385.6 MB, free: 8.625 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.466898399987258]