Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.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.001374/0.001374, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001598/0.001598, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2463/0.2463, allocations: 46.93 MB / 361.6 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 0.4969 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3345, allocations: 66.04 MB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003421/0.3379, allocations: 1.922 MB / 0.5633 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.34, allocations: 1.213 MB / 0.5645 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.3401, allocations: 3.938 kB / 0.5645 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006389/0.3407, allocations: 187.4 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.3411, allocations: 175.3 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.3415, allocations: 167.6 kB / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.3419, allocations: 279.3 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.342, allocations: 23.62 kB / 0.5653 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.3421, allocations: 111.6 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.3423, allocations: 127.5 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.3424, allocations: 16 kB / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.3425, allocations: 75.94 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.366e-05/0.3426, allocations: 63.83 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3427, allocations: 107.4 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.3431, allocations: 290.8 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3431, allocations: 0 / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3431, allocations: 4 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3431, allocations: 0 / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009546/0.3441, allocations: 0.5972 MB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3441, allocations: 12.03 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.156e-05/0.3441, allocations: 4.125 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.3442, allocations: 46.73 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.3443, allocations: 28.8 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.3446, allocations: 225.5 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.3448, allocations: 178.3 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.3448, allocations: 12 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.3452, allocations: 161 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3452, allocations: 3.984 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.3452, allocations: 8 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3452, allocations: 4 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.3455, allocations: 99.86 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008801/0.3464, allocations: 0.5704 MB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.3467, allocations: 155.9 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.3469, allocations: 78.53 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.3469, allocations: 4 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.3474, allocations: 425.1 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.3474, allocations: 7.938 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009304/0.3483, allocations: 450.5 kB / 0.569 GB, free: 12.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.3485, allocations: 213.6 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.3489, allocations: 325.8 kB / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.3489, allocations: 33.7 kB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.349, allocations: 136.6 kB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.3491, allocations: 55.58 kB / 0.5697 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.3491, allocations: 49.7 kB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3493, allocations: 346.8 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3495, allocations: 55.95 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.3497, allocations: 146.7 kB / 0.5703 GB, free: 10.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.3501, allocations: 358.9 kB / 0.5706 GB, free: 10.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3501, allocations: 4 kB / 0.5706 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005727/0.3507, allocations: 346.7 kB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.974e-05/0.3508, allocations: 97.09 kB / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3508, allocations: 0 / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3508, allocations: 7.984 kB / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3509, allocations: 32.16 kB / 0.5711 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.351, allocations: 4 kB / 0.5711 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3511, allocations: 23.88 kB / 0.5711 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3511, allocations: 12 kB / 0.5711 GB, free: 9.945 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0002474/0.3514, allocations: 265.7 kB / 0.5714 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.3514, allocations: 35.8 kB / 0.5714 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.3518, allocations: 208.9 kB / 0.5716 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3518, allocations: 4 kB / 0.5716 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3518, allocations: 0 / 0.5716 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3518, allocations: 3.984 kB / 0.5716 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.3521, allocations: 264.5 kB / 0.5719 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3521, allocations: 0 / 0.5719 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.3522, allocations: 7.984 kB / 0.5719 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3522, allocations: 4 kB / 0.5719 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3522, allocations: 12 kB / 0.5719 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3522, allocations: 0 / 0.5719 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3522, allocations: 0 / 0.5719 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.3529, allocations: 463 kB / 0.5724 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.353, allocations: 27.8 kB / 0.5724 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.353, allocations: 12.19 kB / 0.5724 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3532, allocations: 15.98 kB / 0.5724 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.3532, allocations: 27.95 kB / 0.5724 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.3533, allocations: 16 kB / 0.5724 GB, free: 8.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002826/0.3536, allocations: 241.2 kB / 0.5727 GB, free: 8.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3536, allocations: 0 / 0.5727 GB, free: 8.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.3539, allocations: 63.95 kB / 0.5727 GB, free: 8.18 MB / 414.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: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 3 * 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.002734/0.3566, allocations: 1.316 MB / 0.574 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.3573, allocations: 349.9 kB / 0.5744 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3573, allocations: 4.438 kB / 0.5744 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.3577, allocations: 274.1 kB / 0.5746 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.358, allocations: 58.39 kB / 0.5747 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.3622, allocations: 2.87 MB / 0.5775 GB, free: 3.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.3628, allocations: 0.7556 MB / 0.5782 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.3629, allocations: 29.94 kB / 0.5782 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.3631, allocations: 71.41 kB / 0.5783 GB, free: 2.301 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3631, allocations: 0 / 0.5783 GB, free: 2.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.3924, allocations: 6.559 MB / 0.5847 GB, free: 11.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.22, allocations: 11 kB / 0.5847 GB, free: 11.82 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay_fmu --startTime=0 --stopTime=11 --stepSize=0.00219124 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_OnDelay.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.31645090400707] Failed to read output from testmodel.py, exit status != 0: ['time', 'booleanTable.y', 'onDelay1.delaySignal', 'onDelay1.t_next', 'onDelay1.u', 'onDelay2.delaySignal', 'onDelay2.t_next', 'onDelay2.u', 'onDelay3.delaySignal', 'onDelay3.t_next', 'onDelay3.u'] 12.440689466020558 12.46825392 12.120220133 Calling exit ...