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.001431/0.001431, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001352/0.001352, allocations: 141.8 kB / 24.98 MB, free: 8.812 MB / 18.57 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.029/1.029, allocations: 173.4 MB / 201.5 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] 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 5.791e-06/5.791e-06, allocations: 7.984 kB / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.984e-05, allocations: 10.19 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00264/0.00267, allocations: 1.928 MB / 270 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.004194, allocations: 1.055 MB / 271.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.004322, allocations: 3.938 kB / 271.1 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005461/0.004868, allocations: 167.3 kB / 271.2 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.005083, allocations: 115.5 kB / 271.3 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.005416, allocations: 203.3 kB / 271.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.00561, allocations: 191.3 kB / 271.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.005713, allocations: 25.73 kB / 271.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.005825, allocations: 103.7 kB / 271.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.005921, allocations: 71.8 kB / 271.9 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.005944, allocations: 8 kB / 271.9 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.006057, allocations: 59.95 kB / 272 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.006119, allocations: 51.77 kB / 272 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.006171, allocations: 39.84 kB / 272.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.006395, allocations: 159.3 kB / 272.2 MB, free: 2.539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.006397, allocations: 0 / 272.2 MB, free: 2.539 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006398, allocations: 3.938 kB / 272.2 MB, free: 2.535 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.006403, allocations: 0 / 272.2 MB, free: 2.535 MB / 250.7 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.0005542/0.006957, allocations: 0.5401 MB / 272.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.006999, allocations: 12.03 kB / 272.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.007061, allocations: 28.78 kB / 272.8 MB, free: 1.914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.007317, allocations: 224.3 kB / 273 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.007335, allocations: 4.375 kB / 273 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.007348, allocations: 8.375 kB / 273.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.007599, allocations: 156.2 kB / 273.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.00761, allocations: 7.875 kB / 273.2 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.007621, allocations: 4 kB / 273.2 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.007629, allocations: 4 kB / 273.2 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.007676, allocations: 15.98 kB / 273.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.008088, allocations: 489.9 kB / 273.7 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.008243, allocations: 144.4 kB / 273.9 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.008299, allocations: 54.69 kB / 273.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.008318, allocations: 7.984 kB / 273.9 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.008446, allocations: 92.36 kB / 274 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.008447, allocations: 0 / 274 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002353/0.008682, allocations: 133.5 kB / 274.1 MB, free: 400 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.008754, allocations: 136.5 kB / 274.3 MB, free: 232 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.008969, allocations: 284.7 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.008988, allocations: 33.7 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.009072, allocations: 167.1 kB / 274.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.009095, allocations: 19.84 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.009133, allocations: 31.36 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.009276, allocations: 0.504 MB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.009301, allocations: 7.984 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.009355, allocations: 76.44 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.05e-05/0.009415, allocations: 59.19 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009417, allocations: 0 / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001022/0.009519, allocations: 93.52 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.009531, allocations: 10.91 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009537, allocations: 4 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.009548, allocations: 0 / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.009608, allocations: 15.92 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.009613, allocations: 0 / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.009647, allocations: 4 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.009654, allocations: 8 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.55e-05/0.009729, allocations: 168.6 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.009782, allocations: 73.5 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.009916, allocations: 99.5 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.009918, allocations: 0 / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.009922, allocations: 4 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.009926, allocations: 0 / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.01006, allocations: 176.5 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01006, allocations: 4 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.01008, allocations: 7.938 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01008, allocations: 0 / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.0101, allocations: 16.05 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.0101, allocations: 0 / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.0101, allocations: 4 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.01026, allocations: 183.2 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.0103, allocations: 35.83 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01032, allocations: 7.984 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.01036, allocations: 4 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.01039, allocations: 8.047 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.01043, allocations: 12 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.01054, allocations: 197.1 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01054, allocations: 4 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.01071, allocations: 31.94 kB / 276.6 MB, free: 13.72 MB / 266.7 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.0009669/0.01167, allocations: 395.3 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.0118, allocations: 51.61 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01181, allocations: 0 / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.44e-05/0.01185, allocations: 31.61 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.01211, allocations: 67.17 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.0125, allocations: 321.2 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.01255, allocations: 76.36 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.01259, allocations: 21.48 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.01263, allocations: 20.48 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01263, allocations: 0 / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Templates: time 0.004407/0.01703, allocations: 2.676 MB / 280.2 MB, free: 10.2 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9562613870948553]