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.00172/0.00172, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001909/0.001909, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 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 1.691/1.691, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001612/0.001612, allocations: 55.91 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3344, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.006421/0.3408, allocations: 1.913 MB / 422.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003903/0.3447, allocations: 1.091 MB / 423.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.3449, allocations: 3.938 kB / 423.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.346, allocations: 154.3 kB / 424 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005591/0.3466, allocations: 119.5 kB / 424.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3478, allocations: 210.2 kB / 424.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.3483, allocations: 175.5 kB / 424.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.3484, allocations: 21.55 kB / 424.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.3487, allocations: 83.56 kB / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.3489, allocations: 75.67 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.349, allocations: 12 kB / 424.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.3492, allocations: 47.98 kB / 424.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3493, allocations: 47.78 kB / 424.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.3494, allocations: 71.53 kB / 424.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005696/0.35, allocations: 204.4 kB / 425.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.35, allocations: 0 / 425.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.35, allocations: 0 / 425.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.35, allocations: 0 / 425.1 MB, free: 10.88 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.001332/0.3514, allocations: 0.5193 MB / 425.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.3514, allocations: 11.89 kB / 425.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3515, allocations: 24.8 kB / 425.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.3521, allocations: 267 kB / 425.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.3521, allocations: 8.375 kB / 425.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.3522, allocations: 8.125 kB / 425.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.3527, allocations: 146.7 kB / 426 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3528, allocations: 4 kB / 426 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3528, allocations: 0 / 426 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3528, allocations: 4 kB / 426 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.353, allocations: 35.97 kB / 426.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008657/0.3538, allocations: 362.3 kB / 426.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.3542, allocations: 107.9 kB / 426.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.3544, allocations: 42.56 kB / 426.6 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.3544, allocations: 4 kB / 426.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.3547, allocations: 79.28 kB / 426.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.3547, allocations: 0 / 426.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006937/0.3554, allocations: 137.5 kB / 426.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.3555, allocations: 136.8 kB / 426.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.3561, allocations: 261 kB / 427.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.3562, allocations: 33.64 kB / 427.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.3563, allocations: 116.2 kB / 427.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.3564, allocations: 23.88 kB / 427.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.3565, allocations: 29.7 kB / 427.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.3567, allocations: 334.8 kB / 427.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3568, allocations: 19.92 kB / 427.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.357, allocations: 74 kB / 427.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.3573, allocations: 76.25 kB / 427.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3573, allocations: 0 / 427.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000406/0.3577, allocations: 117.5 kB / 428 MB, free: 7.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3577, allocations: 7.938 kB / 428 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3577, allocations: 0 / 428 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.3578, allocations: 4 kB / 428 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3579, allocations: 8 kB / 428 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.3579, allocations: 4 kB / 428 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3581, allocations: 27.94 kB / 428 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3581, allocations: 8.297 kB / 428 MB, free: 7.551 MB / 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.0002593/0.3583, allocations: 153.7 kB / 428.2 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.3585, allocations: 57.55 kB / 428.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.3589, allocations: 111.3 kB / 428.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3589, allocations: 4 kB / 428.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3589, allocations: 0 / 428.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3589, allocations: 8 kB / 428.4 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.3593, allocations: 217.6 kB / 428.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/0.3593, allocations: 7.984 kB / 428.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.3594, allocations: 4 kB / 428.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3594, allocations: 0 / 428.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3594, allocations: 0 / 428.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.3594, allocations: 7.938 kB / 428.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3594, allocations: 0 / 428.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.3598, allocations: 158.6 kB / 428.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.36, allocations: 109 kB / 428.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.36, allocations: 4 kB / 428.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.3602, allocations: 7.984 kB / 428.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.3602, allocations: 4 kB / 428.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.3603, allocations: 7.938 kB / 428.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003458/0.3606, allocations: 196.4 kB / 429.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3606, allocations: 4 kB / 429.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004372/0.3611, allocations: 31.94 kB / 429.1 MB, free: 6.363 MB / 334.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.002407/0.3635, allocations: 421.9 kB / 429.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.3638, allocations: 63.91 kB / 429.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3638, allocations: 3.938 kB / 429.6 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3639, allocations: 20.25 kB / 429.6 MB, free: 6.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.3646, allocations: 63.36 kB / 429.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000996/0.3656, allocations: 320.4 kB / 430 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.3662, allocations: 0.7281 MB / 430.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.3663, allocations: 29.78 kB / 430.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.3664, allocations: 27.42 kB / 430.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3664, allocations: 0 / 430.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of Templates: time 0.01168/0.378, allocations: 2.429 MB / 433.2 MB, free: 2.41 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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: 5.07362796086818]