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.001279/0.001279, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001404/0.001404, allocations: 146.2 kB / 24.89 MB, free: 8.742 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 0.9021/0.9021, allocations: 173.4 MB / 201.5 MB, free: 8.266 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.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 2.014e-06/2.014e-06, allocations: 0 / 268.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.589e-05, allocations: 6.094 kB / 268.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004268/0.004293, allocations: 1.941 MB / 270.4 MB, free: 7.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.006339, allocations: 1.069 MB / 271.5 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.006475, allocations: 7.938 kB / 271.5 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006527/0.007128, allocations: 156.8 kB / 271.6 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.007469, allocations: 115.5 kB / 271.8 MB, free: 6.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006967/0.008166, allocations: 216.3 kB / 272 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.008471, allocations: 188.4 kB / 272.2 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.008587, allocations: 26.44 kB / 272.2 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.008775, allocations: 109.1 kB / 272.3 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.008908, allocations: 63.8 kB / 272.3 MB, free: 5.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.008938, allocations: 8 kB / 272.4 MB, free: 5.902 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.009093, allocations: 59.91 kB / 272.4 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.009178, allocations: 56.48 kB / 272.5 MB, free: 5.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.009252, allocations: 43.84 kB / 272.5 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.009568, allocations: 164.3 kB / 272.7 MB, free: 5.586 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.009572, allocations: 0 / 272.7 MB, free: 5.586 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.009573, allocations: 0.5 kB / 272.7 MB, free: 5.586 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.748e-06/0.009577, allocations: 0 / 272.7 MB, free: 5.586 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.0006269/0.0102, allocations: 430 kB / 273.1 MB, free: 5.137 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.01024, allocations: 9.844 kB / 273.1 MB, free: 5.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.0103, allocations: 16.92 kB / 273.1 MB, free: 5.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.01064, allocations: 214.1 kB / 273.3 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.01067, allocations: 12.38 kB / 273.3 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.01069, allocations: 8.375 kB / 273.3 MB, free: 4.859 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.01097, allocations: 146 kB / 273.5 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01098, allocations: 3.938 kB / 273.5 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.011, allocations: 4 kB / 273.5 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.011, allocations: 0 / 273.5 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.236e-05/0.01107, allocations: 30.73 kB / 273.5 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.01158, allocations: 208.5 kB / 273.7 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.01177, allocations: 145.1 kB / 273.9 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.01183, allocations: 47.38 kB / 273.9 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.01185, allocations: 7.938 kB / 273.9 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.01197, allocations: 70.2 kB / 274 MB, free: 4.094 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.694e-06/0.01197, allocations: 0 / 274 MB, free: 4.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.000236/0.01221, allocations: 93.53 kB / 274.1 MB, free: 3.996 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.01229, allocations: 136.5 kB / 274.2 MB, free: 3.832 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.01255, allocations: 238.6 kB / 274.5 MB, free: 3.582 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.01257, allocations: 29.7 kB / 274.5 MB, free: 3.547 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.01264, allocations: 100.8 kB / 274.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.01267, allocations: 19.88 kB / 274.6 MB, free: 3.422 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.01273, allocations: 25.7 kB / 274.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.01285, allocations: 334.8 kB / 275 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.01287, allocations: 7.203 kB / 275 MB, free: 3.047 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.01292, allocations: 52.28 kB / 275 MB, free: 2.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.044e-05/0.01299, allocations: 51.27 kB / 275.1 MB, free: 2.922 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.013, allocations: 0 / 275.1 MB, free: 2.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001188/0.01312, allocations: 60.45 kB / 275.1 MB, free: 2.855 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.01313, allocations: 7.984 kB / 275.1 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01314, allocations: 0 / 275.1 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01316, allocations: 4 kB / 275.1 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.01323, allocations: 11.94 kB / 275.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.01324, allocations: 320 / 275.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.01329, allocations: 12.06 kB / 275.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.0133, allocations: 4 kB / 275.2 MB, free: 2.816 MB / 250.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 9.821e-05/0.0134, allocations: 116.7 kB / 275.3 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.01349, allocations: 65.55 kB / 275.3 MB, free: 2.621 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.01363, allocations: 83.48 kB / 275.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01364, allocations: 0 / 275.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01364, allocations: 4 kB / 275.4 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01365, allocations: 0 / 275.4 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.01382, allocations: 113.8 kB / 275.5 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01382, allocations: 4.094 kB / 275.5 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.01386, allocations: 8 kB / 275.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01386, allocations: 0 / 275.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.01388, allocations: 3.938 kB / 275.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01388, allocations: 7.938 kB / 275.6 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01388, allocations: 0 / 275.6 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.01402, allocations: 117.2 kB / 275.7 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.0141, allocations: 31.84 kB / 275.7 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.01413, allocations: 7.938 kB / 275.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.0142, allocations: 4 kB / 275.7 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.01424, allocations: 11.98 kB / 275.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.01425, allocations: 4 kB / 275.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.01437, allocations: 81.61 kB / 275.8 MB, free: 2.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01437, allocations: 0 / 275.8 MB, free: 2.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.01467, allocations: 31.92 kB / 275.8 MB, free: 2.059 MB / 250.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.001391/0.01606, allocations: 0.5165 MB / 276.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.01621, allocations: 40.84 kB / 276.4 MB, free: 1.734 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.01622, allocations: 4 kB / 276.4 MB, free: 1.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.01625, allocations: 24.78 kB / 276.4 MB, free: 1.703 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.0165, allocations: 69.31 kB / 276.5 MB, free: 1.641 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.01691, allocations: 320.3 kB / 276.8 MB, free: 1.293 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.01696, allocations: 87.88 kB / 276.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.823e-05/0.01701, allocations: 21.97 kB / 276.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.657e-05/0.01709, allocations: 79.36 kB / 277 MB, free: 1.086 MB / 250.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0171, allocations: 0 / 277 MB, free: 1.086 MB / 250.7 MB Notification: Performance of Templates: time 0.004702/0.0218, allocations: 3.06 MB / 280.1 MB, free: 14.09 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] 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","",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.6411475338973105]