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.001293/0.001293, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 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.00143/0.00143, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.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.001529/0.001529, allocations: 55.86 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.268, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003833/0.2718, allocations: 1.919 MB / 434.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.2742, allocations: 1.165 MB / 435.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.2744, allocations: 7.938 kB / 435.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000706/0.2751, allocations: 163.4 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.2755, allocations: 159.4 kB / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.2761, allocations: 182.7 kB / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.2764, allocations: 199.4 kB / 436.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2765, allocations: 29.59 kB / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.2766, allocations: 83.62 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.2768, allocations: 91.61 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.2768, allocations: 8 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.277, allocations: 59.91 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-05/0.2771, allocations: 51.83 kB / 436.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.2772, allocations: 55.61 kB / 436.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.2776, allocations: 221.9 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2776, allocations: 4 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2776, allocations: 3.938 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.2776, allocations: 0 / 436.7 MB, free: 2.336 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.0008295/0.2784, allocations: 462.6 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2785, allocations: 12.03 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.2785, allocations: 24.8 kB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.2789, allocations: 217.1 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.2789, allocations: 8.375 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.2789, allocations: 8.125 kB / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.2793, allocations: 170.2 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2793, allocations: 0 / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.2793, allocations: 8 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2793, allocations: 3.984 kB / 437.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.2794, allocations: 39.91 kB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.2799, allocations: 314.8 kB / 437.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.2802, allocations: 126.5 kB / 438.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.2803, allocations: 59.41 kB / 438.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2803, allocations: 7.938 kB / 438.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.2805, allocations: 79.39 kB / 438.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.2805, allocations: 3.938 kB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004121/0.2809, allocations: 165.4 kB / 438.4 MB, free: 488 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.281, allocations: 132.5 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.2814, allocations: 282.3 kB / 438.8 MB, free: 32 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.2814, allocations: 33.7 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.2816, allocations: 128.3 kB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.2816, allocations: 19.89 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.2816, allocations: 29.72 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2818, allocations: 334.8 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.2819, allocations: 23.98 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.282, allocations: 100.6 kB / 439.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.2822, allocations: 106 kB / 439.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2822, allocations: 0 / 439.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002464/0.2824, allocations: 137.3 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2824, allocations: 4 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2824, allocations: 4 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2825, allocations: 192 / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.2825, allocations: 20 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2826, allocations: 7.938 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.2826, allocations: 11.92 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.2826, allocations: 4 kB / 439.7 MB, free: 15 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.0001478/0.2828, allocations: 146.6 kB / 439.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.2829, allocations: 77.48 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.2831, allocations: 119.3 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2832, allocations: 8.031 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2832, allocations: 4 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2832, allocations: 0 / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.2834, allocations: 169.5 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2834, allocations: 0 / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.2834, allocations: 15.98 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2834, allocations: 0 / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2834, allocations: 8 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2834, allocations: 0 / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2834, allocations: 0 / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.2837, allocations: 191.3 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/0.2838, allocations: 35.83 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.2838, allocations: 3.984 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/0.2839, allocations: 4 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.2839, allocations: 11.98 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.2839, allocations: 4 kB / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.2842, allocations: 205.2 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2842, allocations: 0 / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.2844, allocations: 31.95 kB / 440.7 MB, free: 13.9 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.001644/0.2861, allocations: 469 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.2863, allocations: 79.84 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2863, allocations: 0 / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.2864, allocations: 27.92 kB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.2868, allocations: 71.22 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007486/0.2876, allocations: 388.1 kB / 441.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.2877, allocations: 131.6 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.2878, allocations: 19.44 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2878, allocations: 0 / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Templates: time 0.005744/0.2935, allocations: 2.898 MB / 444.8 MB, free: 9.973 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 -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: 7.543028944986872]