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.001444/0.001444, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.001469/0.001469, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 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.505/1.505, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 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 1.693e-06/1.693e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.271e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00401/0.004043, allocations: 1.897 MB / 269.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.006231, allocations: 1.04 MB / 270.3 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.0064, allocations: 7.938 kB / 270.3 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007472/0.007147, allocations: 155.4 kB / 270.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.007553, allocations: 127.4 kB / 270.5 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.008224, allocations: 203.2 kB / 270.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.008559, allocations: 187.4 kB / 270.9 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.00869, allocations: 29.78 kB / 271 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.008875, allocations: 107.7 kB / 271.1 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.009012, allocations: 67.8 kB / 271.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.00904, allocations: 8 kB / 271.1 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.009202, allocations: 63.89 kB / 271.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.009289, allocations: 47.78 kB / 271.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.009374, allocations: 43.84 kB / 271.3 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.009768, allocations: 211.2 kB / 271.5 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.009772, allocations: 0 / 271.5 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009773, allocations: 4 kB / 271.5 MB, free: 2.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.009778, allocations: 3.938 kB / 271.5 MB, free: 2.516 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.0008756/0.01065, allocations: 446.8 kB / 271.9 MB, free: 2.043 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.01069, allocations: 11.97 kB / 271.9 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.441e-05/0.01079, allocations: 32.8 kB / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.01119, allocations: 224.8 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.01121, allocations: 4.375 kB / 272.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.01123, allocations: 8.375 kB / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.01163, allocations: 159.3 kB / 272.4 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.01164, allocations: 11.86 kB / 272.4 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.01165, allocations: 0 / 272.4 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.01166, allocations: 8 kB / 272.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.01179, allocations: 47.89 kB / 272.4 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.01229, allocations: 295 kB / 272.7 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.01259, allocations: 130.5 kB / 272.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.01271, allocations: 59.36 kB / 272.9 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.01274, allocations: 3.984 kB / 272.9 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.01292, allocations: 79.39 kB / 273 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.01292, allocations: 0 / 273 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004546/0.01338, allocations: 169.4 kB / 273.1 MB, free: 0.668 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.0135, allocations: 140.5 kB / 273.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.01384, allocations: 265.9 kB / 273.5 MB, free: 236 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.01387, allocations: 29.7 kB / 273.6 MB, free: 200 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01398, allocations: 128.3 kB / 273.7 MB, free: 64 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.01401, allocations: 16.28 kB / 273.7 MB, free: 48 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.01407, allocations: 33.66 kB / 273.7 MB, free: 8 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.01429, allocations: 327 kB / 274.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.01436, allocations: 19.98 kB / 274.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.01447, allocations: 68.27 kB / 274.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.0146, allocations: 61.58 kB / 274.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.0146, allocations: 256 / 274.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002121/0.01482, allocations: 97.59 kB / 274.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.01483, allocations: 8 kB / 274.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.01484, allocations: 4.062 kB / 274.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01485, allocations: 0 / 274.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.775e-05/0.01494, allocations: 19.92 kB / 274.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01495, allocations: 0 / 274.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.01501, allocations: 4 kB / 274.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.01501, allocations: 0 / 274.3 MB, free: 15.37 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001587/0.01517, allocations: 141.8 kB / 274.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.01531, allocations: 81.48 kB / 274.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.01559, allocations: 127.4 kB / 274.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.0156, allocations: 0 / 274.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.0156, allocations: 4 kB / 274.7 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.01561, allocations: 3.984 kB / 274.7 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.01583, allocations: 169.1 kB / 274.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01583, allocations: 4 kB / 274.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.01586, allocations: 4 kB / 274.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.01587, allocations: 4 kB / 274.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01588, allocations: 0 / 274.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.01588, allocations: 4 kB / 274.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01588, allocations: 0 / 274.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.01622, allocations: 191.3 kB / 275.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.01631, allocations: 35.88 kB / 275.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.01634, allocations: 4 kB / 275.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.01641, allocations: 8 kB / 275.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.01646, allocations: 7.984 kB / 275.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.01647, allocations: 4 kB / 275.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.0167, allocations: 197.2 kB / 275.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0167, allocations: 0 / 275.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.01696, allocations: 31.94 kB / 275.3 MB, free: 14.29 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,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.001987/0.01895, allocations: 467 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.01918, allocations: 59.97 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01918, allocations: 7.938 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.062e-05/0.01926, allocations: 27.98 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.01975, allocations: 85.98 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.02041, allocations: 351.1 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.02055, allocations: 123.6 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.98e-05/0.02062, allocations: 17.48 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.02068, allocations: 24.48 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02068, allocations: 4 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of Templates: time 0.007146/0.02783, allocations: 2.802 MB / 279.3 MB, free: 10.52 MB / 266.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/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.404783918056637]