Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001758/0.001758, allocations: 108.7 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001923, allocations: 216.2 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.2 MB / 256.2 MB, free: 8.695 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2272/0.2272, allocations: 46.89 MB / 359.4 MB, free: 4.953 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 87.86 kB / 0.4942 GB, free: 8.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3329, allocations: 65.98 MB / 0.5587 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003098/0.336, allocations: 1.761 MB / 0.5604 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3377, allocations: 1.056 MB / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.3378, allocations: 0 / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.3381, allocations: 95.67 kB / 0.5615 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.3384, allocations: 115.5 kB / 0.5616 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.3386, allocations: 79.73 kB / 0.5617 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.3388, allocations: 127.6 kB / 0.5618 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.3389, allocations: 17.8 kB / 0.5618 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.339, allocations: 55.77 kB / 0.5619 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3391, allocations: 75.78 kB / 0.562 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3391, allocations: 4 kB / 0.562 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3393, allocations: 59.92 kB / 0.562 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.3393, allocations: 27.91 kB / 0.5621 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.3394, allocations: 39.67 kB / 0.5621 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.3396, allocations: 147.4 kB / 0.5622 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3396, allocations: 4 kB / 0.5622 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3396, allocations: 0 / 0.5622 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3396, allocations: 0 / 0.5622 GB, free: 1.469 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.0005832/0.3402, allocations: 450.4 kB / 0.5627 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3402, allocations: 12.03 kB / 0.5627 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.3403, allocations: 38.73 kB / 0.5627 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.3403, allocations: 16.84 kB / 0.5627 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.3406, allocations: 217.7 kB / 0.5629 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3406, allocations: 16.31 kB / 0.563 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3406, allocations: 4.375 kB / 0.563 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3408, allocations: 61.8 kB / 0.563 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3408, allocations: 0 / 0.563 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3408, allocations: 3.938 kB / 0.563 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3408, allocations: 0 / 0.563 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.107e-05/0.3409, allocations: 23.98 kB / 0.563 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.3413, allocations: 308.8 kB / 0.5633 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.3416, allocations: 58.5 kB / 0.5634 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.3416, allocations: 24.91 kB / 0.5634 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3416, allocations: 0 / 0.5634 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.3418, allocations: 67.39 kB / 0.5635 GB, free: 16 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3418, allocations: 0 / 0.5635 GB, free: 16 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007537/0.3425, allocations: 257.2 kB / 0.5637 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3426, allocations: 51.41 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3428, allocations: 234.9 kB / 0.564 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3429, allocations: 33.7 kB / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.3429, allocations: 112.1 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.343, allocations: 35.73 kB / 0.5642 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.343, allocations: 29.7 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3432, allocations: 326.8 kB / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.3433, allocations: 31.98 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.3434, allocations: 41.7 kB / 0.5646 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3436, allocations: 85.58 kB / 0.5647 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3436, allocations: 0 / 0.5647 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002185/0.3438, allocations: 121.6 kB / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3438, allocations: 12.03 kB / 0.5648 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3438, allocations: 0 / 0.5648 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3438, allocations: 0 / 0.5648 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.3439, allocations: 19.94 kB / 0.5648 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3439, allocations: 7.984 kB / 0.5648 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.3439, allocations: 7.938 kB / 0.5648 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3439, allocations: 4 kB / 0.5648 GB, free: 14.56 MB / 414.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.0001724/0.3441, allocations: 129.8 kB / 0.565 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.3442, allocations: 19.91 kB / 0.565 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.3445, allocations: 155.8 kB / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3445, allocations: 0 / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3445, allocations: 0 / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3445, allocations: 7.922 kB / 0.5651 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.345, allocations: 452.1 kB / 0.5656 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.345, allocations: 4 kB / 0.5656 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.3451, allocations: 20 kB / 0.5656 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3451, allocations: 0 / 0.5656 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3451, allocations: 4 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3451, allocations: 0 / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.3451, allocations: 4.094 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.3454, allocations: 245 kB / 0.5658 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.3455, allocations: 100.9 kB / 0.5659 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.3455, allocations: 4 kB / 0.5659 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.3456, allocations: 3.984 kB / 0.5659 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.3456, allocations: 8 kB / 0.5659 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.3456, allocations: 7.984 kB / 0.5659 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3458, allocations: 176.4 kB / 0.5661 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3458, allocations: 0 / 0.5661 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.346, allocations: 31.92 kB / 0.5661 GB, free: 13.09 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: 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.002335/0.3484, allocations: 1.169 MB / 0.5673 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.3486, allocations: 71.91 kB / 0.5674 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3486, allocations: 11.94 kB / 0.5674 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.3487, allocations: 39.92 kB / 0.5674 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3491, allocations: 27.73 kB / 0.5674 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.3514, allocations: 1.864 MB / 0.5693 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3518, allocations: 0.7126 MB / 0.5699 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.531e-05/0.3519, allocations: 20.62 kB / 0.57 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.352, allocations: 47.41 kB / 0.57 GB, free: 9.18 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.352, allocations: 4 kB / 0.57 GB, free: 9.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.3772, allocations: 3.962 MB / 0.5739 GB, free: 5.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.47, allocations: 6.188 kB / 0.5739 GB, free: 5.23 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.33319439800107] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.593797201989219 8.620178125 8.275650282 Calling exit ...