Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001311/0.001311, allocations: 75.73 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.001437/0.001437, allocations: 168.9 kB / 24.5 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 9.043 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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 48.25 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1047, allocations: 53.33 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004085/0.1088, allocations: 1.917 MB / 380.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1111, allocations: 1.173 MB / 382 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.1113, allocations: 7.938 kB / 382 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007165/0.112, allocations: 159.5 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.1124, allocations: 160.3 kB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.113, allocations: 178.9 kB / 382.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.1133, allocations: 207.4 kB / 382.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1134, allocations: 25.67 kB / 382.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.1136, allocations: 83.69 kB / 382.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1137, allocations: 83.55 kB / 382.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.1138, allocations: 8 kB / 382.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1139, allocations: 63.95 kB / 382.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.114, allocations: 43.84 kB / 383 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.1141, allocations: 55.61 kB / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.1145, allocations: 231 kB / 383.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1145, allocations: 4 kB / 383.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1145, allocations: 0 / 383.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1145, allocations: 0 / 383.3 MB, free: 11.3 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.0008771/0.1154, allocations: 458.6 kB / 383.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1154, allocations: 12.03 kB / 383.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.1155, allocations: 20.8 kB / 383.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.1159, allocations: 225.4 kB / 384 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1159, allocations: 12.38 kB / 384 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.1159, allocations: 12.12 kB / 384 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.1164, allocations: 165.7 kB / 384.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1164, allocations: 7.922 kB / 384.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1164, allocations: 0 / 384.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1164, allocations: 0 / 384.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.1165, allocations: 39.92 kB / 384.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.1171, allocations: 307 kB / 384.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.1174, allocations: 134.5 kB / 384.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1175, allocations: 59.36 kB / 384.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1175, allocations: 0 / 384.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.1177, allocations: 83.38 kB / 384.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.923e-06/0.1177, allocations: 0 / 384.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004428/0.1181, allocations: 169.4 kB / 384.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1182, allocations: 136.5 kB / 385.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.1186, allocations: 281.9 kB / 385.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.1186, allocations: 29.7 kB / 385.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1188, allocations: 132.4 kB / 385.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1188, allocations: 19.89 kB / 385.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.043e-05/0.1189, allocations: 33.7 kB / 385.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1191, allocations: 330.8 kB / 385.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.1191, allocations: 28.36 kB / 385.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1193, allocations: 104.5 kB / 386 MB, free: 8.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.1195, allocations: 97.88 kB / 386.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1195, allocations: 0 / 386.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002765/0.1197, allocations: 133.5 kB / 386.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1198, allocations: 8 kB / 386.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1198, allocations: 3.938 kB / 386.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1198, allocations: 7.938 kB / 386.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.1199, allocations: 19.92 kB / 386.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1199, allocations: 4 kB / 386.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.12, allocations: 4 kB / 386.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.12, allocations: 4 kB / 386.3 MB, free: 7.969 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,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.0001924/0.1202, allocations: 154.7 kB / 386.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.1203, allocations: 77.48 kB / 386.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.1206, allocations: 123.4 kB / 386.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1206, allocations: 4 kB / 386.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1206, allocations: 0 / 386.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1206, allocations: 3.984 kB / 386.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1208, allocations: 173.1 kB / 386.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1208, allocations: 320 / 386.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.1209, allocations: 12 kB / 386.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1209, allocations: 96 / 386.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1209, allocations: 12 kB / 386.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1209, allocations: 0 / 386.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1209, allocations: 3.938 kB / 386.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.1212, allocations: 187.3 kB / 387 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.91e-05/0.1213, allocations: 31.88 kB / 387 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.1213, allocations: 8 kB / 387.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.1214, allocations: 0 / 387.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1214, allocations: 11.98 kB / 387.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1214, allocations: 4 kB / 387.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.1217, allocations: 213.2 kB / 387.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1217, allocations: 0 / 387.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.122, allocations: 35.88 kB / 387.3 MB, free: 6.855 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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.001735/0.1237, allocations: 450.7 kB / 387.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.124, allocations: 79.83 kB / 387.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.124, allocations: 3.938 kB / 387.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.1241, allocations: 36.3 kB / 387.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.1245, allocations: 65.16 kB / 387.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/0.1252, allocations: 349.7 kB / 388.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.1253, allocations: 123.6 kB / 388.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.021e-05/0.1254, allocations: 30.06 kB / 388.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.1255, allocations: 20.5 kB / 388.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1255, allocations: 0 / 388.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of Templates: time 0.007336/0.1328, allocations: 2.88 MB / 391.3 MB, free: 3.004 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.392449859995395]