Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001754/0.001754, allocations: 112.5 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.002155/0.002155, 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2436/0.2436, allocations: 44.92 MB / 359.6 MB, free: 6.367 MB / 286.1 MB " [Timeout remaining time 179] 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.00202/0.00202, allocations: 63.89 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4114, allocations: 65.46 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003535/0.415, allocations: 1.755 MB / 0.5596 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.417, allocations: 1.045 MB / 0.5606 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.417, allocations: 3.938 kB / 0.5606 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.4174, allocations: 47.75 kB / 0.5606 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.4177, allocations: 91.61 kB / 0.5607 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.418, allocations: 83.61 kB / 0.5608 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.4182, allocations: 103.8 kB / 0.5609 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.4183, allocations: 11.78 kB / 0.5609 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4184, allocations: 51.72 kB / 0.561 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.104e-05/0.4185, allocations: 35.8 kB / 0.561 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.4185, allocations: 4 kB / 0.561 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.4186, allocations: 43.97 kB / 0.561 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.4187, allocations: 19.92 kB / 0.5611 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.4188, allocations: 35.73 kB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.419, allocations: 117.5 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.419, allocations: 3.938 kB / 0.5612 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.419, allocations: 4 kB / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.419, allocations: 0 / 0.5612 GB, free: 4.297 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006601/0.4197, allocations: 353.5 kB / 0.5615 GB, free: 3.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4197, allocations: 12.03 kB / 0.5616 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.512e-05/0.4197, allocations: 192 / 0.5616 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.4198, allocations: 30.75 kB / 0.5616 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.4199, allocations: 8.891 kB / 0.5616 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.4202, allocations: 155 kB / 0.5617 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.4202, allocations: 12.11 kB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.4202, allocations: 0 / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.4204, allocations: 61.61 kB / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4204, allocations: 4 kB / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4204, allocations: 0 / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.4204, allocations: 0 / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.257e-05/0.4205, allocations: 19.98 kB / 0.5618 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.4209, allocations: 256 kB / 0.5621 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.4211, allocations: 62.61 kB / 0.5621 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.4212, allocations: 16.84 kB / 0.5622 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.4212, allocations: 4 kB / 0.5622 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.4214, allocations: 63.39 kB / 0.5622 GB, free: 3.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4214, allocations: 0 / 0.5622 GB, free: 3.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000573/0.4219, allocations: 181.3 kB / 0.5624 GB, free: 2.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.422, allocations: 67.41 kB / 0.5625 GB, free: 2.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.4222, allocations: 198.2 kB / 0.5626 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.4222, allocations: 33.7 kB / 0.5627 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.4223, allocations: 100.1 kB / 0.5628 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.4223, allocations: 23.8 kB / 0.5628 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.4224, allocations: 25.7 kB / 0.5628 GB, free: 2.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4225, allocations: 318.8 kB / 0.5631 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.4226, allocations: 27.98 kB / 0.5632 GB, free: 2.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.139e-05/0.4226, allocations: 41.64 kB / 0.5632 GB, free: 2.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.4228, allocations: 53.72 kB / 0.5632 GB, free: 2.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4228, allocations: 0 / 0.5632 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.423, allocations: 109.9 kB / 0.5633 GB, free: 1.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.423, allocations: 6.656 kB / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.423, allocations: 160 / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.423, allocations: 4.031 kB / 0.5634 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.4231, allocations: 20 kB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.4231, allocations: 11.91 kB / 0.5634 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.4231, allocations: 4 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.4231, allocations: 4 kB / 0.5634 GB, free: 1.852 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 (10): * Single equations (assignments): 10 * 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.0001363/0.4233, allocations: 124.5 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.4233, allocations: 19.89 kB / 0.5635 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.4236, allocations: 107.1 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4236, allocations: 4 kB / 0.5636 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4236, allocations: 7.922 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4236, allocations: 4 kB / 0.5637 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.4241, allocations: 358.4 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4241, allocations: 4 kB / 0.564 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.4241, allocations: 4 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4241, allocations: 7.938 kB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.4241, allocations: 0 / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4241, allocations: 8.016 kB / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.4241, allocations: 7.938 kB / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.4244, allocations: 200.3 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.4244, allocations: 11.89 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.4244, allocations: 7.938 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.4245, allocations: 4.188 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.4245, allocations: 7.984 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.4246, allocations: 7.938 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.4247, allocations: 148.2 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4247, allocations: 0 / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.4249, allocations: 23.94 kB / 0.5644 GB, free: 0.7109 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002179/0.4271, allocations: 1.094 MB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.4273, allocations: 59.91 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4273, allocations: 4.062 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.4274, allocations: 20 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.4277, allocations: 39.48 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.4296, allocations: 1.658 MB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.43, allocations: 0.708 MB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.414e-05/0.43, allocations: 13.28 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.4301, allocations: 35.42 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4301, allocations: 4 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.4542, allocations: 3.667 MB / 0.5715 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.52, allocations: 4.812 kB / 0.5715 GB, free: 9.527 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.65088069497142] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.736673451960087 11.752053026 11.329610471 Calling exit ...