Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.57/1.57, allocations: 230.4 MB / 251.1 MB, free: 8.465 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.83 kB / 368.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3502, allocations: 53.31 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.00426/0.3545, allocations: 1.921 MB / 424.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.357, allocations: 1.231 MB / 425.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.3571, allocations: 7.938 kB / 425.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007123/0.3579, allocations: 151.5 kB / 425.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005064/0.3584, allocations: 158.1 kB / 425.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.3589, allocations: 171.5 kB / 425.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.3592, allocations: 191.5 kB / 426.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.3594, allocations: 21.53 kB / 426.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3595, allocations: 79.58 kB / 426.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3597, allocations: 83.61 kB / 426.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.3597, allocations: 8 kB / 426.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.3599, allocations: 63.95 kB / 426.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.604e-05/0.36, allocations: 43.78 kB / 426.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.3602, allocations: 67.55 kB / 426.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.3606, allocations: 210.5 kB / 426.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3606, allocations: 4 kB / 426.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3606, allocations: 0 / 426.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3606, allocations: 0 / 426.6 MB, free: 3.441 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001049/0.3617, allocations: 0.5193 MB / 427.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3617, allocations: 8.922 kB / 427.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.3618, allocations: 20.8 kB / 427.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.3622, allocations: 275 kB / 427.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3622, allocations: 16.31 kB / 427.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.3622, allocations: 8.125 kB / 427.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.3626, allocations: 142.7 kB / 427.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3626, allocations: 3.938 kB / 427.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3626, allocations: 4 kB / 427.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3626, allocations: 0 / 427.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3627, allocations: 35.97 kB / 427.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.3633, allocations: 362.3 kB / 428 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.3636, allocations: 107.9 kB / 428.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.3637, allocations: 42.56 kB / 428.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.3637, allocations: 4 kB / 428.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.3639, allocations: 83.31 kB / 428.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.3639, allocations: 0 / 428.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004149/0.3643, allocations: 145.5 kB / 428.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.3644, allocations: 132.5 kB / 428.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.3648, allocations: 265.2 kB / 428.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3648, allocations: 37.7 kB / 428.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3649, allocations: 116.1 kB / 428.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3649, allocations: 19.95 kB / 429 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.365, allocations: 33.61 kB / 429 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.3652, allocations: 334.8 kB / 429.3 MB, free: 488 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.3653, allocations: 20 kB / 429.3 MB, free: 468 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3654, allocations: 69.98 kB / 429.4 MB, free: 376 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3655, allocations: 76.23 kB / 429.5 MB, free: 284 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3655, allocations: 0 / 429.5 MB, free: 284 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000231/0.3658, allocations: 117.5 kB / 429.6 MB, free: 160 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3658, allocations: 8 kB / 429.6 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3658, allocations: 0 / 429.6 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3658, allocations: 7.938 kB / 429.6 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.3659, allocations: 15.92 kB / 429.6 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3659, allocations: 4 kB / 429.6 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.904e-05/0.366, allocations: 11.88 kB / 429.6 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.366, allocations: 4 kB / 429.6 MB, free: 108 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001816/0.3662, allocations: 149.9 kB / 429.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.3662, allocations: 61.55 kB / 429.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.3665, allocations: 111.3 kB / 430 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3665, allocations: 4 kB / 430 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3665, allocations: 0 / 430 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.3665, allocations: 4.312 kB / 430 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.3668, allocations: 233.5 kB / 430.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3668, allocations: 4.062 kB / 430.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.3668, allocations: 8 kB / 430.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3668, allocations: 0 / 430.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3668, allocations: 4 kB / 430.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3668, allocations: 0 / 430.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3668, allocations: 3.938 kB / 430.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.3671, allocations: 166.6 kB / 430.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3672, allocations: 105 kB / 430.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.3672, allocations: 4 kB / 430.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.3673, allocations: 7.984 kB / 430.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.3673, allocations: 4 kB / 430.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.3673, allocations: 7.938 kB / 430.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.3676, allocations: 204.5 kB / 430.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3676, allocations: 0 / 430.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3678, allocations: 31.92 kB / 430.7 MB, free: 14.9 MB / 350.1 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 (9): * Single equations (assignments): 7 * 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.001528/0.3694, allocations: 429.5 kB / 431.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.3696, allocations: 63.91 kB / 431.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3696, allocations: 0 / 431.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.3697, allocations: 27.92 kB / 431.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.3701, allocations: 52.42 kB / 431.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.3707, allocations: 320.9 kB / 431.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.3711, allocations: 0.7319 MB / 432.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.562e-05/0.3712, allocations: 25.53 kB / 432.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.3713, allocations: 15.44 kB / 432.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3713, allocations: 0 / 432.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Templates: time 0.006837/0.3781, allocations: 2.481 MB / 434.9 MB, free: 10.89 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches