Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.0009261/0.0009261, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008781/0.0008781, allocations: 147.1 kB / 24.9 MB, free: 8.77 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.9806/0.9806, allocations: 173.4 MB / 201.5 MB, free: 8.25 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 268.5 MB, free: 9.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.3e-05, allocations: 6.453 kB / 268.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.006209/0.006232, allocations: 1.916 MB / 270.4 MB, free: 7.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004554/0.01079, allocations: 1.053 MB / 271.4 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.01091, allocations: 5.906 kB / 271.4 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.01148, allocations: 159.4 kB / 271.6 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.01176, allocations: 116.8 kB / 271.7 MB, free: 6.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.01228, allocations: 212.4 kB / 271.9 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.01254, allocations: 179.4 kB / 272.1 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.01263, allocations: 23.28 kB / 272.1 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.01277, allocations: 99.78 kB / 272.2 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.01288, allocations: 61.34 kB / 272.3 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.01291, allocations: 12 kB / 272.3 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.01303, allocations: 59.83 kB / 272.3 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.01309, allocations: 47.78 kB / 272.4 MB, free: 5.887 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.01314, allocations: 37.19 kB / 272.4 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.0164, allocations: 151.5 kB / 272.6 MB, free: 5.703 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.0164, allocations: 4 kB / 272.6 MB, free: 5.699 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0164, allocations: 3.938 kB / 272.6 MB, free: 5.695 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.01641, allocations: 0.7188 kB / 272.6 MB, free: 5.695 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.0005254/0.01693, allocations: 418.3 kB / 273 MB, free: 5.258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.01697, allocations: 8.031 kB / 273 MB, free: 5.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.01701, allocations: 20.92 kB / 273 MB, free: 5.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.01727, allocations: 203 kB / 273.2 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.01729, allocations: 8.938 kB / 273.2 MB, free: 5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.01731, allocations: 8.859 kB / 273.2 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.01752, allocations: 121.2 kB / 273.4 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.01753, allocations: 3.938 kB / 273.4 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.01754, allocations: 0 / 273.4 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.01754, allocations: 4 kB / 273.4 MB, free: 4.844 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.01758, allocations: 18.75 kB / 273.4 MB, free: 4.824 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.01787, allocations: 199.6 kB / 273.6 MB, free: 4.605 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.018, allocations: 138.6 kB / 273.7 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.01803, allocations: 26.56 kB / 273.7 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.01805, allocations: 11.92 kB / 273.7 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.772e-05/0.01815, allocations: 70.14 kB / 273.8 MB, free: 4.312 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.01815, allocations: 0 / 273.8 MB, free: 4.312 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001668/0.01832, allocations: 81.55 kB / 273.9 MB, free: 4.227 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.01837, allocations: 110.8 kB / 274 MB, free: 4.094 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01855, allocations: 226.9 kB / 274.2 MB, free: 3.855 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.01857, allocations: 29.7 kB / 274.3 MB, free: 3.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.01862, allocations: 108 kB / 274.4 MB, free: 3.711 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.01864, allocations: 19.84 kB / 274.4 MB, free: 3.691 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.01868, allocations: 29.69 kB / 274.4 MB, free: 3.656 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.01879, allocations: 326.8 kB / 274.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.01881, allocations: 10.81 kB / 274.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.147e-05/0.01885, allocations: 52.27 kB / 274.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/0.0189, allocations: 31.36 kB / 274.8 MB, free: 3.211 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.0189, allocations: 0 / 274.8 MB, free: 3.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.267e-05/0.01899, allocations: 80.66 kB / 274.9 MB, free: 3.125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.019, allocations: 10.34 kB / 274.9 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01901, allocations: 0 / 274.9 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.01902, allocations: 0 / 274.9 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.01908, allocations: 11.98 kB / 274.9 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01909, allocations: 3.938 kB / 274.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.01912, allocations: 4 kB / 274.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.01913, allocations: 4 kB / 274.9 MB, free: 3.094 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 0.00309/0.02222, allocations: 116.7 kB / 275 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.02229, allocations: 61.58 kB / 275.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.0224, allocations: 67.45 kB / 275.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.0224, allocations: 0 / 275.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.0224, allocations: 4 kB / 275.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02241, allocations: 0 / 275.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.02253, allocations: 109.8 kB / 275.3 MB, free: 2.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.02253, allocations: 4 kB / 275.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.02255, allocations: 4 kB / 275.3 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.02256, allocations: 0 / 275.3 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.02257, allocations: 11.94 kB / 275.3 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.02257, allocations: 4 kB / 275.3 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.02257, allocations: 4.234 kB / 275.3 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.901e-05/0.02267, allocations: 112.4 kB / 275.4 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.02272, allocations: 23.84 kB / 275.4 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.02274, allocations: 11.92 kB / 275.5 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.02279, allocations: 7.938 kB / 275.5 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.02281, allocations: 7.984 kB / 275.5 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.02283, allocations: 4 kB / 275.5 MB, free: 2.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.043e-05/0.02291, allocations: 77.61 kB / 275.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02291, allocations: 0 / 275.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002023/0.02311, allocations: 28 kB / 275.6 MB, free: 2.375 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.001345/0.02445, allocations: 0.5283 MB / 276.1 MB, free: 2.078 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.02456, allocations: 36.78 kB / 276.1 MB, free: 2.039 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.02456, allocations: 4 kB / 276.1 MB, free: 2.035 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.0246, allocations: 16.86 kB / 276.2 MB, free: 2.016 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.02482, allocations: 60.09 kB / 276.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.02823, allocations: 300.5 kB / 276.5 MB, free: 1.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.065e-05/0.02828, allocations: 75.83 kB / 276.6 MB, free: 1.539 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.02833, allocations: 17.62 kB / 276.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.02843, allocations: 83.34 kB / 276.7 MB, free: 1.438 MB / 250.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02843, allocations: 0 / 276.7 MB, free: 1.438 MB / 250.7 MB Notification: Performance of Templates: time 0.006982/0.03541, allocations: 2.756 MB / 279.4 MB, free: 14.74 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.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.6151188630610704]