Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001943/0.001943, allocations: 72.16 kB / 21.24 MB, free: 0.5547 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.002341/0.002341, allocations: 151 kB / 24.49 MB, free: 3.723 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.469/1.469, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 50.73 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09839, allocations: 52.17 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003801/0.1022, allocations: 1.896 MB / 373.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1042, allocations: 1.025 MB / 374.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1044, allocations: 11.94 kB / 374.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006789/0.1051, allocations: 163.5 kB / 374.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.1054, allocations: 115.5 kB / 374.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.106, allocations: 207.2 kB / 375 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.1063, allocations: 187.5 kB / 375.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1064, allocations: 29.73 kB / 375.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1065, allocations: 83.62 kB / 375.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1067, allocations: 79.61 kB / 375.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.1067, allocations: 8 kB / 375.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1069, allocations: 71.83 kB / 375.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.107, allocations: 43.84 kB / 375.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.354e-05/0.107, allocations: 55.61 kB / 375.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.1074, allocations: 215 kB / 375.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1074, allocations: 0 / 375.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1074, allocations: 0 / 375.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1074, allocations: 0 / 375.7 MB, free: 3.164 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.0009845/0.1084, allocations: 462.7 kB / 376.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1084, allocations: 8.031 kB / 376.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.1085, allocations: 24.8 kB / 376.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.1089, allocations: 221.5 kB / 376.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1089, allocations: 4.375 kB / 376.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1089, allocations: 12.12 kB / 376.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.1093, allocations: 174.7 kB / 376.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1093, allocations: 0 / 376.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1093, allocations: 0 / 376.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1093, allocations: 4 kB / 376.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1094, allocations: 39.92 kB / 376.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.1099, allocations: 306.8 kB / 377 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.1102, allocations: 138.5 kB / 377.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1103, allocations: 55.42 kB / 377.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1103, allocations: 3.938 kB / 377.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1105, allocations: 75.39 kB / 377.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.1105, allocations: 0 / 377.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004165/0.1109, allocations: 165.4 kB / 377.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.111, allocations: 140.9 kB / 377.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.1113, allocations: 273.9 kB / 377.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1113, allocations: 25.7 kB / 377.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.752e-05/0.1114, allocations: 116.4 kB / 377.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1114, allocations: 19.97 kB / 378 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.1115, allocations: 37.66 kB / 378 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1117, allocations: 338.7 kB / 378.3 MB, free: 320 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.1117, allocations: 23.98 kB / 378.3 MB, free: 296 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1119, allocations: 100.6 kB / 378.4 MB, free: 164 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.1121, allocations: 97.97 kB / 378.5 MB, free: 44 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1121, allocations: 3.938 kB / 378.5 MB, free: 40 kB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002781/0.1123, allocations: 133.5 kB / 378.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1124, allocations: 4 kB / 378.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1124, allocations: 8.188 kB / 378.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1124, allocations: 3.984 kB / 378.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.1125, allocations: 12 kB / 378.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1125, allocations: 7.938 kB / 378.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.1126, allocations: 19.81 kB / 378.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1126, allocations: 8 kB / 378.7 MB, free: 15.84 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.0001578/0.1127, allocations: 142.9 kB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1128, allocations: 77.5 kB / 379 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.1131, allocations: 119.5 kB / 379.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.1131, allocations: 8 kB / 379.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1131, allocations: 0 / 379.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1131, allocations: 4 kB / 379.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.1133, allocations: 161.2 kB / 379.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1133, allocations: 0 / 379.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.1134, allocations: 8 kB / 379.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1134, allocations: 0 / 379.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1134, allocations: 8 kB / 379.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1134, allocations: 3.984 kB / 379.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.1134, allocations: 8 kB / 379.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.1137, allocations: 183.2 kB / 379.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/0.1138, allocations: 35.81 kB / 379.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.1138, allocations: 8 kB / 379.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.248e-05/0.1139, allocations: 0 / 379.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1139, allocations: 11.98 kB / 379.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.114, allocations: 4 kB / 379.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.1142, allocations: 201.2 kB / 379.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1142, allocations: 0 / 379.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1145, allocations: 35.94 kB / 379.7 MB, free: 14.76 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.001713/0.1162, allocations: 452.8 kB / 380.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.1165, allocations: 83.78 kB / 380.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1165, allocations: 0 / 380.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.03e-05/0.1165, allocations: 27.92 kB / 380.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.117, allocations: 68.28 kB / 380.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.1176, allocations: 353.2 kB / 380.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.1177, allocations: 119.6 kB / 380.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.132e-05/0.1178, allocations: 29.77 kB / 380.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.1178, allocations: 20.5 kB / 380.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1178, allocations: 0 / 380.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Templates: time 0.00689/0.1247, allocations: 2.848 MB / 383.7 MB, free: 10.96 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.454369050101377]