Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001831/0.001831, allocations: 87.34 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002321/0.002321, allocations: 157.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.687e-06/3.687e-06, allocations: 1.734 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.982e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003246/0.003276, allocations: 1.916 MB / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.005544, allocations: 1.174 MB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.005675, allocations: 7.75 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006318/0.006306, allocations: 159.2 kB / 328.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.006748, allocations: 163.9 kB / 328.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.007294, allocations: 176.9 kB / 328.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.007586, allocations: 204.6 kB / 328.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.007704, allocations: 23.34 kB / 328.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.007898, allocations: 106.5 kB / 328.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.00804, allocations: 67.94 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.008073, allocations: 17.28 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.008231, allocations: 64.97 kB / 329.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.008319, allocations: 45.86 kB / 329.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.272e-05/0.008392, allocations: 42.8 kB / 329.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.00879, allocations: 225.7 kB / 329.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.008794, allocations: 0.6094 kB / 329.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.008795, allocations: 0 / 329.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.0088, allocations: 0 / 329.4 MB, free: 13.88 MB / 302.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.000811/0.009611, allocations: 458.7 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.009646, allocations: 13.28 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.022e-05/0.009717, allocations: 27.33 kB / 329.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.01008, allocations: 214.7 kB / 330.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.0101, allocations: 8.281 kB / 330.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.01012, allocations: 8.781 kB / 330.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.01048, allocations: 164.2 kB / 330.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.0105, allocations: 17.81 kB / 330.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.01051, allocations: 1.406 kB / 330.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.01052, allocations: 5.031 kB / 330.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.01064, allocations: 42.47 kB / 330.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.01117, allocations: 305.3 kB / 330.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.01145, allocations: 134 kB / 330.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01156, allocations: 56.98 kB / 330.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.01159, allocations: 11.2 kB / 330.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.01176, allocations: 73.7 kB / 330.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.764e-06/0.01176, allocations: 0 / 330.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004191/0.01218, allocations: 165.1 kB / 331 MB, free: 12.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.01229, allocations: 137 kB / 331.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.01263, allocations: 281.7 kB / 331.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.01265, allocations: 27.55 kB / 331.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.01276, allocations: 129 kB / 331.6 MB, free: 12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.01279, allocations: 18.78 kB / 331.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.01285, allocations: 25.89 kB / 331.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.01302, allocations: 328.2 kB / 332 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.01309, allocations: 21.77 kB / 332 MB, free: 11.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.01318, allocations: 71.19 kB / 332.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.0133, allocations: 60.23 kB / 332.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01331, allocations: 0 / 332.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002026/0.01351, allocations: 106.7 kB / 332.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.01352, allocations: 5.75 kB / 332.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01352, allocations: 0 / 332.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01354, allocations: 1.156 kB / 332.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.01361, allocations: 9.75 kB / 332.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.01362, allocations: 3.938 kB / 332.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.01368, allocations: 12.52 kB / 332.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01369, allocations: 6.234 kB / 332.3 MB, free: 11.43 MB / 302.1 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.0001311/0.01382, allocations: 141.6 kB / 332.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.01395, allocations: 83.25 kB / 332.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.0142, allocations: 122.2 kB / 332.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.0142, allocations: 2.594 kB / 332.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01421, allocations: 1.125 kB / 332.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01421, allocations: 1.125 kB / 332.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.01442, allocations: 160.8 kB / 332.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01442, allocations: 1.094 kB / 332.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.01446, allocations: 9.469 kB / 332.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.01446, allocations: 5.469 kB / 332.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.01448, allocations: 6.641 kB / 332.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01448, allocations: 5.25 kB / 332.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01448, allocations: 6.25 kB / 332.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.01478, allocations: 177.6 kB / 333 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.01485, allocations: 42.97 kB / 333 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.01489, allocations: 6.344 kB / 333 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.01496, allocations: 7.641 kB / 333 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.01499, allocations: 3.438 kB / 333 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.01501, allocations: 8.5 kB / 333 MB, free: 10.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002464/0.01526, allocations: 209.4 kB / 333.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01526, allocations: 4 kB / 333.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.01551, allocations: 26.53 kB / 333.3 MB, free: 10.65 MB / 302.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.001631/0.01714, allocations: 446.3 kB / 333.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.01736, allocations: 67.75 kB / 333.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.01736, allocations: 1.219 kB / 333.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.01743, allocations: 19.66 kB / 333.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.01788, allocations: 85.72 kB / 333.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.01849, allocations: 346.8 kB / 334.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.01862, allocations: 125.1 kB / 334.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.111e-05/0.01869, allocations: 25.78 kB / 334.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.01874, allocations: 19.97 kB / 334.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.01874, allocations: 0 / 334.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of Templates: time 0.006968/0.02571, allocations: 2.829 MB / 337.2 MB, free: 8.496 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.513220939785242]