Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001712/0.001712, 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.00231/0.00231, 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2292/0.2292, allocations: 44.91 MB / 359.6 MB, free: 6.32 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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.002095/0.002095, allocations: 63.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4349, allocations: 65.47 MB / 0.5579 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003345/0.4383, allocations: 1.693 MB / 0.5595 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.4401, allocations: 1.034 MB / 0.5605 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.4402, allocations: 4 kB / 0.5605 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.4405, allocations: 59.73 kB / 0.5606 GB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.4409, allocations: 107.6 kB / 0.5607 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.4411, allocations: 75.67 kB / 0.5607 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.4413, allocations: 111.6 kB / 0.5609 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.4413, allocations: 4.172 kB / 0.5609 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.4415, allocations: 51.78 kB / 0.5609 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.4416, allocations: 55.75 kB / 0.561 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.4416, allocations: 4 kB / 0.561 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.4417, allocations: 28 kB / 0.561 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.4418, allocations: 23.91 kB / 0.561 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.4418, allocations: 35.73 kB / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.442, allocations: 105.4 kB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.4421, allocations: 3.938 kB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4421, allocations: 0 / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.4421, allocations: 0 / 0.5612 GB, free: 4.406 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006003/0.4427, allocations: 337.6 kB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4427, allocations: 12.03 kB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.605e-05/0.4427, allocations: 4.188 kB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.4428, allocations: 30.75 kB / 0.5615 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.4428, allocations: 12.84 kB / 0.5615 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.4431, allocations: 147.1 kB / 0.5617 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4431, allocations: 4.125 kB / 0.5617 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.4431, allocations: 7.938 kB / 0.5617 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.4433, allocations: 45.67 kB / 0.5617 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4433, allocations: 0 / 0.5617 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4433, allocations: 4 kB / 0.5617 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4433, allocations: 4 kB / 0.5617 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.4434, allocations: 15.98 kB / 0.5618 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.4436, allocations: 156.7 kB / 0.5619 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.4438, allocations: 62.48 kB / 0.562 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.4439, allocations: 16.86 kB / 0.562 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4439, allocations: 4 kB / 0.562 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.4441, allocations: 63.38 kB / 0.562 GB, free: 3.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.4441, allocations: 0 / 0.562 GB, free: 3.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003371/0.4444, allocations: 105.5 kB / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.4445, allocations: 55.34 kB / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.4447, allocations: 194.3 kB / 0.5624 GB, free: 2.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.4447, allocations: 29.7 kB / 0.5624 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.4448, allocations: 104.1 kB / 0.5625 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.4449, allocations: 19.84 kB / 0.5625 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.4449, allocations: 17.72 kB / 0.5625 GB, free: 2.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4451, allocations: 322.8 kB / 0.5629 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.4452, allocations: 15.98 kB / 0.5629 GB, free: 2.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.4452, allocations: 25.72 kB / 0.5629 GB, free: 2.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.4453, allocations: 45.64 kB / 0.5629 GB, free: 2.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4453, allocations: 4 kB / 0.5629 GB, free: 2.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001824/0.4455, allocations: 93.45 kB / 0.563 GB, free: 2.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4455, allocations: 6.5 kB / 0.563 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4455, allocations: 4 kB / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4455, allocations: 0 / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.4456, allocations: 8 kB / 0.563 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.4456, allocations: 0 / 0.563 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.4457, allocations: 11.97 kB / 0.5631 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4457, allocations: 0 / 0.5631 GB, free: 2.254 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 (7): * Single equations (assignments): 7 * 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.000131/0.4458, allocations: 133.7 kB / 0.5632 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.4458, allocations: 7.953 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.4461, allocations: 90.77 kB / 0.5633 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4461, allocations: 3.984 kB / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4461, allocations: 0 / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4461, allocations: 0 / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.4462, allocations: 160.6 kB / 0.5634 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.4462, allocations: 4 kB / 0.5634 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.4463, allocations: 8.312 kB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4463, allocations: 0 / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4463, allocations: 7.984 kB / 0.5635 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4463, allocations: 4 kB / 0.5635 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4463, allocations: 0 / 0.5635 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.4465, allocations: 109 kB / 0.5636 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.4465, allocations: 11.95 kB / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.4465, allocations: 4 kB / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.4466, allocations: 7.938 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.4466, allocations: 3.984 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4466, allocations: 4 kB / 0.5636 GB, free: 1.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.4467, allocations: 148.2 kB / 0.5637 GB, free: 1.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4467, allocations: 0 / 0.5637 GB, free: 1.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.447, allocations: 19.94 kB / 0.5638 GB, free: 1.453 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.002007/0.449, allocations: 0.9526 MB / 0.5647 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.4491, allocations: 39.92 kB / 0.5647 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4492, allocations: 0 / 0.5647 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.4492, allocations: 19.98 kB / 0.5647 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.4495, allocations: 30.73 kB / 0.5648 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.4515, allocations: 1.503 MB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.4518, allocations: 0.7079 MB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.4519, allocations: 12.47 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.4519, allocations: 31.42 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4519, allocations: 4 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.4752, allocations: 3.342 MB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.51, allocations: 4.75 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.642454824002925] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.727903624996543 11.755923724 11.308666711 Calling exit ...