Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.0007306/0.0007306, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.001993, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007596/0.0007596, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009098/0.001669, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.078/1.078, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09126/1.17, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.062e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002386/0.002406, allocations: 2.003 MB / 246.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.003762, allocations: 1.207 MB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.003857, allocations: 0 / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.004218, allocations: 151.4 kB / 248.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.00446, allocations: 171.1 kB / 248.2 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.004779, allocations: 179.2 kB / 248.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.00497, allocations: 187.5 kB / 248.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.005056, allocations: 34.39 kB / 248.6 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.005209, allocations: 139.5 kB / 248.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.005298, allocations: 63.8 kB / 248.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.005316, allocations: 12 kB / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.005428, allocations: 63.83 kB / 248.9 MB, free: 10 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.005478, allocations: 35.88 kB / 248.9 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.005516, allocations: 31.86 kB / 249 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.005708, allocations: 151.4 kB / 249.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.005717, allocations: 0 / 249.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005718, allocations: 0 / 249.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.005725, allocations: 7.938 kB / 249.1 MB, free: 9.781 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004326/0.006158, allocations: 449 kB / 249.6 MB, free: 9.312 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.385e-05/0.006181, allocations: 8.031 kB / 249.6 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.006218, allocations: 20.92 kB / 249.6 MB, free: 9.285 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.006412, allocations: 209.5 kB / 249.8 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.006424, allocations: 4.375 kB / 249.8 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.006435, allocations: 4.375 kB / 249.8 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.006589, allocations: 129.2 kB / 249.9 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.006596, allocations: 7.938 kB / 249.9 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.006603, allocations: 4 kB / 249.9 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.006607, allocations: 0 / 249.9 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.006639, allocations: 26.73 kB / 250 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.006853, allocations: 203.6 kB / 250.2 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.006955, allocations: 122.5 kB / 250.3 MB, free: 8.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.006982, allocations: 34.58 kB / 250.3 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.006996, allocations: 3.938 kB / 250.3 MB, free: 8.438 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.685e-05/0.007083, allocations: 74.14 kB / 250.4 MB, free: 8.352 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.007084, allocations: 0 / 250.4 MB, free: 8.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001196/0.007203, allocations: 81.53 kB / 250.5 MB, free: 8.266 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.007242, allocations: 106.8 kB / 250.6 MB, free: 8.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.007376, allocations: 230.6 kB / 250.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.007392, allocations: 37.95 kB / 250.8 MB, free: 7.855 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.007433, allocations: 108.5 kB / 250.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.007449, allocations: 15.88 kB / 251 MB, free: 7.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.007479, allocations: 21.72 kB / 251 MB, free: 7.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.007554, allocations: 334.8 kB / 251.3 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.007568, allocations: 10.83 kB / 251.3 MB, free: 7.355 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.007603, allocations: 60.25 kB / 251.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.007639, allocations: 31.36 kB / 251.4 MB, free: 7.242 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007641, allocations: 0 / 251.4 MB, free: 7.242 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.794e-05/0.007708, allocations: 72.41 kB / 251.5 MB, free: 7.164 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.00772, allocations: 8 kB / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.007723, allocations: 0 / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.007731, allocations: 0 / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.007782, allocations: 12.31 kB / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.007785, allocations: 8.094 kB / 251.5 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.007816, allocations: 7.984 kB / 251.5 MB, free: 7.129 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.007822, allocations: 4 kB / 251.5 MB, free: 7.125 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,table.y) * 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 6.446e-05/0.007886, allocations: 123 kB / 251.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.007927, allocations: 57.62 kB / 251.7 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.446e-05/0.008022, allocations: 79.41 kB / 251.8 MB, free: 6.852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.008025, allocations: 4 kB / 251.8 MB, free: 6.848 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.008027, allocations: 0 / 251.8 MB, free: 6.848 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.00803, allocations: 0 / 251.8 MB, free: 6.848 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.672e-05/0.008116, allocations: 105.8 kB / 251.9 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008118, allocations: 0 / 251.9 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.00814, allocations: 11.98 kB / 251.9 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.008179, allocations: 31.81 kB / 251.9 MB, free: 6.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.008183, allocations: 4 kB / 251.9 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-06/0.008188, allocations: 0 / 251.9 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.00819, allocations: 7.969 kB / 251.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008191, allocations: 4 kB / 251.9 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.216e-05/0.008263, allocations: 96.48 kB / 252 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.008283, allocations: 11.92 kB / 252 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.008315, allocations: 11.92 kB / 252.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.008337, allocations: 4 kB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.008347, allocations: 7.984 kB / 252.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.466e-05/0.008412, allocations: 81.61 kB / 252.1 MB, free: 6.426 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008412, allocations: 0 / 252.1 MB, free: 6.426 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.008549, allocations: 35.89 kB / 252.2 MB, free: 6.391 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (10): * Single equations (assignments): 8 * 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.00118/0.009729, allocations: 0.5601 MB / 252.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.006e-05/0.009819, allocations: 36.83 kB / 252.8 MB, free: 6.066 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.009826, allocations: 0 / 252.8 MB, free: 6.066 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.009864, allocations: 28.73 kB / 252.8 MB, free: 6.035 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.01017, allocations: 336.7 kB / 253.1 MB, free: 5.648 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.01069, allocations: 300.7 kB / 253.4 MB, free: 5.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.928e-05/0.01074, allocations: 79.83 kB / 253.5 MB, free: 5.223 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.22e-05/0.01078, allocations: 17.7 kB / 253.5 MB, free: 5.207 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.01087, allocations: 75.36 kB / 253.6 MB, free: 5.133 MB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01087, allocations: 0 / 253.6 MB, free: 5.133 MB / 250.7 MB Notification: Performance of Templates: time 0.004547/0.01541, allocations: 2.858 MB / 256.5 MB, free: 2.328 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7256706515327096]