Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001249/0.001249, 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.001395/0.001395, allocations: 205.2 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 44.92 MB / 359.6 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 55.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3148, allocations: 65.48 MB / 0.5579 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003097/0.3179, allocations: 1.767 MB / 0.5596 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3196, allocations: 1.045 MB / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.3197, allocations: 0 / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.32, allocations: 83.7 kB / 0.5607 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.3203, allocations: 119.5 kB / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.3205, allocations: 83.66 kB / 0.5609 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.3207, allocations: 131.6 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.3208, allocations: 9.812 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3209, allocations: 63.75 kB / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.321, allocations: 55.77 kB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.321, allocations: 8 kB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3211, allocations: 63.97 kB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.3212, allocations: 31.84 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.3212, allocations: 39.69 kB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.3215, allocations: 135.5 kB / 0.5614 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3215, allocations: 0 / 0.5614 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3215, allocations: 0 / 0.5614 GB, free: 4.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.3215, allocations: 0 / 0.5614 GB, free: 4.137 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000523/0.322, allocations: 373.3 kB / 0.5618 GB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.322, allocations: 12.03 kB / 0.5618 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.779e-06/0.3221, allocations: 4.188 kB / 0.5618 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.3221, allocations: 38.67 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.3221, allocations: 16.84 kB / 0.5618 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.3224, allocations: 154.8 kB / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3224, allocations: 4.125 kB / 0.562 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3224, allocations: 8 kB / 0.562 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3226, allocations: 61.66 kB / 0.562 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3226, allocations: 0 / 0.562 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3226, allocations: 4 kB / 0.562 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-06/0.3226, allocations: 0 / 0.562 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.3227, allocations: 27.92 kB / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.323, allocations: 275.8 kB / 0.5623 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.3233, allocations: 58.55 kB / 0.5624 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.3233, allocations: 16.98 kB / 0.5624 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3233, allocations: 4 kB / 0.5624 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.3235, allocations: 79.38 kB / 0.5625 GB, free: 2.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3235, allocations: 0 / 0.5625 GB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007642/0.3243, allocations: 245.6 kB / 0.5627 GB, free: 2.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3243, allocations: 55.41 kB / 0.5628 GB, free: 2.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.3246, allocations: 223.5 kB / 0.563 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.3246, allocations: 33.7 kB / 0.563 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.3247, allocations: 104.1 kB / 0.5631 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.3247, allocations: 35.72 kB / 0.5632 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.3247, allocations: 25.72 kB / 0.5632 GB, free: 2.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3249, allocations: 334.8 kB / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.325, allocations: 20 kB / 0.5635 GB, free: 1.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.3251, allocations: 49.69 kB / 0.5636 GB, free: 1.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3252, allocations: 89.64 kB / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3252, allocations: 0 / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002379/0.3255, allocations: 133.5 kB / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3255, allocations: 6.188 kB / 0.5638 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3255, allocations: 0 / 0.5638 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3255, allocations: 7.938 kB / 0.5638 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.3256, allocations: 19.98 kB / 0.5638 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3256, allocations: 4.031 kB / 0.5638 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.3257, allocations: 4 kB / 0.5638 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.3257, allocations: 11.98 kB / 0.5638 GB, free: 1.434 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001368/0.3258, allocations: 144.6 kB / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.3258, allocations: 11.91 kB / 0.564 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.3262, allocations: 150.9 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3262, allocations: 3.938 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3262, allocations: 0 / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3262, allocations: 4 kB / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.3267, allocations: 419.1 kB / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3267, allocations: 0 / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.3268, allocations: 12 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3268, allocations: 0 / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3268, allocations: 8 kB / 0.5646 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.3268, allocations: 11.92 kB / 0.5646 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3268, allocations: 3.984 kB / 0.5646 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.3271, allocations: 233.2 kB / 0.5648 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.3271, allocations: 15.84 kB / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.3272, allocations: 7.984 kB / 0.5648 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.3272, allocations: 4 kB / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.3273, allocations: 11.98 kB / 0.5648 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3273, allocations: 4 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.3275, allocations: 173.1 kB / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3275, allocations: 0 / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.3278, allocations: 31.92 kB / 0.565 GB, free: 116 kB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.002474/0.3302, allocations: 1.175 MB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.3305, allocations: 75.91 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3305, allocations: 0 / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.529e-05/0.3306, allocations: 35.92 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.331, allocations: 39.03 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.3332, allocations: 1.818 MB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.3335, allocations: 0.7197 MB / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.359e-05/0.3336, allocations: 20.64 kB / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.3337, allocations: 39.42 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3337, allocations: 0 / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.3568, allocations: 4.112 MB / 0.5729 GB, free: 8.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.76, allocations: 11.44 kB / 0.5729 GB, free: 8.211 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.784467624966055] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 11.999682248046156 12.01577212 11.68966125 Calling exit ...