Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001276/0.001276, allocations: 67.77 kB / 21.24 MB, free: 404 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.001401/0.001401, allocations: 163.9 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.497/1.497, 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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 45.67 kB / 325.6 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09667, allocations: 53.34 MB / 378.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004133/0.1008, allocations: 1.898 MB / 380.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1033, allocations: 1.235 MB / 382 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.1035, allocations: 7.938 kB / 382 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.1039, allocations: 67.66 kB / 382.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.1044, allocations: 135.4 kB / 382.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000757/0.1051, allocations: 231.4 kB / 382.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.1054, allocations: 179.5 kB / 382.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1055, allocations: 37.66 kB / 382.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1057, allocations: 83.58 kB / 382.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1059, allocations: 91.58 kB / 382.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.1059, allocations: 12 kB / 382.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.1061, allocations: 67.95 kB / 382.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1062, allocations: 55.77 kB / 383 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.1063, allocations: 59.55 kB / 383 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.1067, allocations: 251 kB / 383.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1067, allocations: 3.938 kB / 383.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1067, allocations: 4 kB / 383.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1067, allocations: 0 / 383.3 MB, free: 11.42 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008982/0.1076, allocations: 482.5 kB / 383.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1076, allocations: 16.02 kB / 383.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.1077, allocations: 28.75 kB / 383.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.1084, allocations: 229.5 kB / 384 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1084, allocations: 8.375 kB / 384 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.1084, allocations: 8.125 kB / 384 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.1088, allocations: 197.2 kB / 384.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1088, allocations: 0 / 384.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1088, allocations: 3.984 kB / 384.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1089, allocations: 4 kB / 384.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.109, allocations: 47.84 kB / 384.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008707/0.1099, allocations: 406.2 kB / 384.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.1102, allocations: 142.5 kB / 384.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1103, allocations: 51.42 kB / 384.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1103, allocations: 4 kB / 384.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.1106, allocations: 105 kB / 385 MB, free: 9.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1106, allocations: 0 / 385 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004662/0.111, allocations: 177.9 kB / 385.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.1112, allocations: 166.3 kB / 385.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.1116, allocations: 340.2 kB / 385.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1116, allocations: 25.7 kB / 385.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1117, allocations: 140.3 kB / 385.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1117, allocations: 19.84 kB / 385.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.1118, allocations: 33.7 kB / 385.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.112, allocations: 338.7 kB / 386.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.1121, allocations: 27.98 kB / 386.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.1122, allocations: 142.3 kB / 386.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.1124, allocations: 101.1 kB / 386.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1124, allocations: 0 / 386.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002912/0.1127, allocations: 145.4 kB / 386.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1127, allocations: 4 kB / 386.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1127, allocations: 160 / 386.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1128, allocations: 11.94 kB / 386.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1129, allocations: 23.92 kB / 386.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1129, allocations: 4 kB / 386.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.113, allocations: 11.94 kB / 386.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.113, allocations: 11.98 kB / 386.7 MB, free: 7.684 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0002369/0.1132, allocations: 149.8 kB / 386.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1133, allocations: 77.48 kB / 386.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.1137, allocations: 143.4 kB / 387 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1137, allocations: 4 kB / 387 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1137, allocations: 0 / 387 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1137, allocations: 0 / 387 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.114, allocations: 189.1 kB / 387.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.114, allocations: 0 / 387.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.114, allocations: 15.98 kB / 387.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.114, allocations: 4 kB / 387.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1141, allocations: 12.12 kB / 387.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1141, allocations: 0 / 387.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1141, allocations: 0 / 387.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.1144, allocations: 195.3 kB / 387.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1145, allocations: 47.81 kB / 387.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.1145, allocations: 0 / 387.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.1146, allocations: 8 kB / 387.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.1147, allocations: 11.92 kB / 387.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.1147, allocations: 11.98 kB / 387.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.115, allocations: 247.1 kB / 387.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.115, allocations: 0 / 387.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.1153, allocations: 39.92 kB / 387.8 MB, free: 6.473 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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.001717/0.117, allocations: 463.8 kB / 388.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.1172, allocations: 75.91 kB / 388.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.1172, allocations: 4 kB / 388.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1173, allocations: 43.89 kB / 388.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.1178, allocations: 65 kB / 388.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007868/0.1186, allocations: 398.3 kB / 388.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.1187, allocations: 136.2 kB / 389 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.707e-05/0.1188, allocations: 29.72 kB / 389 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.1189, allocations: 28.48 kB / 389 MB, free: 5.379 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1189, allocations: 0 / 389 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Templates: time 0.007698/0.1266, allocations: 3.139 MB / 392.2 MB, free: 2.285 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.334756811033003]