Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 119.5 kB / 18.41 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 192.3 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 55.91 kB / 358.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.0987, allocations: 49.44 MB / 408.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003464/0.1022, allocations: 1.895 MB / 410 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1041, allocations: 1.068 MB / 411.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1042, allocations: 7.938 kB / 411.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.1048, allocations: 151.5 kB / 411.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.1051, allocations: 115.5 kB / 411.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.1057, allocations: 206.2 kB / 411.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.1059, allocations: 191.5 kB / 411.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1061, allocations: 37.48 kB / 411.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1062, allocations: 75.62 kB / 411.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1063, allocations: 79.62 kB / 411.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.1064, allocations: 12 kB / 411.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1065, allocations: 59.91 kB / 412 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.1066, allocations: 43.89 kB / 412 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.749e-05/0.1067, allocations: 71.48 kB / 412.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.107, allocations: 211.1 kB / 412.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.107, allocations: 3.938 kB / 412.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1071, allocations: 0 / 412.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1071, allocations: 0 / 412.3 MB, free: 2.652 MB / 334.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.0007918/0.1079, allocations: 0.5193 MB / 412.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1079, allocations: 11.89 kB / 412.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.108, allocations: 24.8 kB / 412.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.1083, allocations: 267 kB / 413.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1084, allocations: 12.31 kB / 413.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.1084, allocations: 8.125 kB / 413.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.1087, allocations: 163.6 kB / 413.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1088, allocations: 3.938 kB / 413.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1088, allocations: 0 / 413.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1088, allocations: 4 kB / 413.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1089, allocations: 39.91 kB / 413.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.1095, allocations: 454.5 kB / 413.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1098, allocations: 134.5 kB / 413.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1099, allocations: 55.42 kB / 414 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.11, allocations: 0 / 414 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.1102, allocations: 105 kB / 414.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.1102, allocations: 0 / 414.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000414/0.1106, allocations: 157.4 kB / 414.2 MB, free: 480 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.1107, allocations: 158.6 kB / 414.4 MB, free: 284 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.111, allocations: 265 kB / 414.6 MB, free: 4 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.1111, allocations: 33.7 kB / 414.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1112, allocations: 124.3 kB / 414.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.1112, allocations: 19.84 kB / 414.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.1113, allocations: 29.7 kB / 414.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1115, allocations: 334.8 kB / 415.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.1115, allocations: 23.98 kB / 415.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1117, allocations: 90.8 kB / 415.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.1118, allocations: 89.11 kB / 415.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1119, allocations: 256 / 415.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002504/0.1121, allocations: 133.4 kB / 415.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1121, allocations: 11.98 kB / 415.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1121, allocations: 0 / 415.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1122, allocations: 4 kB / 415.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.1123, allocations: 11.94 kB / 415.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1123, allocations: 8.156 kB / 415.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.1124, allocations: 15.92 kB / 415.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1124, allocations: 4 kB / 415.6 MB, free: 15.01 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.0001493/0.1125, allocations: 146.3 kB / 415.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1126, allocations: 73.5 kB / 415.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.1127, allocations: 25.7 kB / 415.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1127, allocations: 0 / 415.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1127, allocations: 4.062 kB / 415.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1127, allocations: 11.88 kB / 415.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.113, allocations: 225.6 kB / 416 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.113, allocations: 0 / 416 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.113, allocations: 7.938 kB / 416 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.113, allocations: 4 kB / 416 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.113, allocations: 7.984 kB / 416 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1131, allocations: 4 kB / 416.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1131, allocations: 0 / 416.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.1133, allocations: 171.4 kB / 416.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1135, allocations: 109 kB / 416.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.1135, allocations: 4 kB / 416.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.1136, allocations: 11.98 kB / 416.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1136, allocations: 11.88 kB / 416.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1136, allocations: 4 kB / 416.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.1139, allocations: 200.5 kB / 416.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1139, allocations: 0 / 416.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1141, allocations: 31.89 kB / 416.6 MB, free: 13.87 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.00153/0.1157, allocations: 436.5 kB / 417 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.1159, allocations: 80.09 kB / 417.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1159, allocations: 4.062 kB / 417.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.116, allocations: 27.98 kB / 417.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1164, allocations: 65.92 kB / 417.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.117, allocations: 361.1 kB / 417.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.1175, allocations: 0.7437 MB / 418.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1175, allocations: 19.44 kB / 418.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1175, allocations: 0 / 418.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Templates: time 0.005111/0.1226, allocations: 2.701 MB / 421 MB, free: 9.566 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 7.475229898933321]