Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002014/0.002014, allocations: 160 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 61.59 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1035, allocations: 53.38 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00367/0.1071, allocations: 1.906 MB / 380.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.1095, allocations: 1.165 MB / 382 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.1097, allocations: 7.938 kB / 382 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.1103, allocations: 155.5 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.1107, allocations: 163.4 kB / 382.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.1113, allocations: 171.4 kB / 382.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.1116, allocations: 199.4 kB / 382.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1117, allocations: 29.73 kB / 382.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1118, allocations: 79.64 kB / 382.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.112, allocations: 83.59 kB / 382.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.112, allocations: 16 kB / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.1122, allocations: 55.97 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.1122, allocations: 51.77 kB / 383 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.988e-05/0.1123, allocations: 47.67 kB / 383 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1127, allocations: 227 kB / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1127, allocations: 0 / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1127, allocations: 0 / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1127, allocations: 0 / 383.2 MB, free: 11.15 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.0008245/0.1135, allocations: 454.7 kB / 383.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1135, allocations: 15.92 kB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.1136, allocations: 24.8 kB / 383.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.1139, allocations: 213.6 kB / 383.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.114, allocations: 4.375 kB / 383.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.114, allocations: 8.375 kB / 383.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.1143, allocations: 163 kB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1143, allocations: 7.938 kB / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1143, allocations: 4 kB / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1143, allocations: 0 / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1144, allocations: 39.97 kB / 384.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.115, allocations: 382.3 kB / 384.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.1153, allocations: 130.5 kB / 384.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1154, allocations: 55.42 kB / 384.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1154, allocations: 7.984 kB / 384.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1156, allocations: 93.05 kB / 384.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1156, allocations: 7.875 kB / 384.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004133/0.116, allocations: 161.4 kB / 385 MB, free: 9.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.1161, allocations: 140.5 kB / 385.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.1164, allocations: 277.8 kB / 385.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1164, allocations: 29.7 kB / 385.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.1165, allocations: 116.8 kB / 385.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1166, allocations: 31.89 kB / 385.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.1166, allocations: 37.67 kB / 385.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1168, allocations: 334.8 kB / 385.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.1169, allocations: 28.23 kB / 385.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.117, allocations: 99.33 kB / 386 MB, free: 8.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.1171, allocations: 101 kB / 386.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1171, allocations: 4.031 kB / 386.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002224/0.1174, allocations: 121.5 kB / 386.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1174, allocations: 11.98 kB / 386.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1174, allocations: 0 / 386.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1174, allocations: 4 kB / 386.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.206e-05/0.1175, allocations: 12 kB / 386.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1175, allocations: 4 kB / 386.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.1176, allocations: 12.09 kB / 386.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1176, allocations: 8 kB / 386.3 MB, free: 7.758 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.0001341/0.1177, allocations: 149.7 kB / 386.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/0.1178, allocations: 69.5 kB / 386.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.1181, allocations: 115.4 kB / 386.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1181, allocations: 0 / 386.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1181, allocations: 4 kB / 386.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1181, allocations: 0 / 386.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.1183, allocations: 177.1 kB / 386.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1183, allocations: 4.062 kB / 386.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.1183, allocations: 4 kB / 386.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.1183, allocations: 11.92 kB / 386.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1183, allocations: 3.984 kB / 386.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1183, allocations: 4.062 kB / 386.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1183, allocations: 4 kB / 386.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.1186, allocations: 187.4 kB / 387 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.1187, allocations: 31.84 kB / 387.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1187, allocations: 4 kB / 387.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.1188, allocations: 4 kB / 387.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.1188, allocations: 15.92 kB / 387.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1188, allocations: 4 kB / 387.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.119, allocations: 209.2 kB / 387.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.119, allocations: 0 / 387.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1193, allocations: 39.88 kB / 387.3 MB, free: 6.652 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.001589/0.1209, allocations: 423.2 kB / 387.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.1211, allocations: 91.88 kB / 387.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1211, allocations: 0 / 387.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.1212, allocations: 31.98 kB / 387.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1216, allocations: 84.47 kB / 387.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.1222, allocations: 333.8 kB / 388.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.1223, allocations: 128.1 kB / 388.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.1224, allocations: 21.48 kB / 388.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.1224, allocations: 20.5 kB / 388.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1224, allocations: 0 / 388.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of Templates: time 0.006731/0.1292, allocations: 2.72 MB / 391.2 MB, free: 2.957 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.470398733043112]