Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.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.001338/0.001338, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001439/0.001439, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.403/1.403, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2134/0.2134, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",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.002219/0.002219, allocations: 83.84 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3428, allocations: 66.09 MB / 0.5616 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003447/0.3462, allocations: 1.737 MB / 0.5633 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3481, allocations: 1.049 MB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.3482, allocations: 7.938 kB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.3486, allocations: 55.75 kB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.3489, allocations: 103.5 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.3492, allocations: 71.75 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.3494, allocations: 107.7 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3495, allocations: 5.969 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.3496, allocations: 51.72 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.3497, allocations: 31.84 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.3497, allocations: 8 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.3498, allocations: 43.92 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.3499, allocations: 35.84 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.3499, allocations: 39.67 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.3502, allocations: 139.4 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3502, allocations: 0 / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3502, allocations: 0 / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3502, allocations: 0 / 0.565 GB, free: 0.8008 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.0005734/0.3508, allocations: 377.2 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3508, allocations: 12.03 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.3509, allocations: 42.67 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3509, allocations: 16.84 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.3512, allocations: 159.2 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3512, allocations: 4.375 kB / 0.5656 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3513, allocations: 384 / 0.5656 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3514, allocations: 57.8 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3514, allocations: 0 / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3514, allocations: 4 kB / 0.5656 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3514, allocations: 0 / 0.5656 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.888e-05/0.3515, allocations: 19.98 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.352, allocations: 275.8 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.3522, allocations: 58.67 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.3522, allocations: 12.86 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.3523, allocations: 4 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.3524, allocations: 71.33 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3524, allocations: 0 / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006449/0.3531, allocations: 181.3 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3531, allocations: 55.39 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.3534, allocations: 278.8 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3535, allocations: 29.7 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.3536, allocations: 124.1 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.3536, allocations: 23.8 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.3536, allocations: 21.7 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3538, allocations: 334.8 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.3538, allocations: 15.98 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.3539, allocations: 37.7 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.354, allocations: 65.72 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.354, allocations: 384 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.3542, allocations: 113.5 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3542, allocations: 10.19 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3542, allocations: 0 / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3543, allocations: 4 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.3543, allocations: 19.94 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3544, allocations: 7.984 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.3544, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.3544, allocations: 8.031 kB / 0.5673 GB, free: 14.2 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 (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.0001278/0.3545, allocations: 141.9 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.3546, allocations: 11.91 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.3548, allocations: 123 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3548, allocations: 4 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3548, allocations: 0 / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3548, allocations: 0 / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.3553, allocations: 382.3 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3553, allocations: 0 / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.3554, allocations: 8 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3554, allocations: 4 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3554, allocations: 3.984 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3554, allocations: 3.938 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3554, allocations: 0 / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3557, allocations: 212.3 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.3557, allocations: 11.91 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.3557, allocations: 0 / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.3558, allocations: 7.938 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.3558, allocations: 11.98 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.3558, allocations: 0 / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.356, allocations: 204.6 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.356, allocations: 192 / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.3563, allocations: 27.94 kB / 0.5684 GB, free: 12.97 MB / 414.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.002144/0.3585, allocations: 1.1 MB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.3586, allocations: 55.91 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3586, allocations: 0 / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.3587, allocations: 31.86 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3591, allocations: 34.62 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.3611, allocations: 1.824 MB / 0.5714 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3615, allocations: 0.7158 MB / 0.5721 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.713e-05/0.3615, allocations: 21.27 kB / 0.5721 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.3616, allocations: 39.42 kB / 0.5721 GB, free: 9.172 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3616, allocations: 3.938 kB / 0.5721 GB, free: 9.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.389, allocations: 3.885 MB / 0.5759 GB, free: 5.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.621/9.01, allocations: 0 / 0.5759 GB, free: 5.301 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498107 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.276811778079718] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.205235694069415 9.231548291 8.876603685 Calling exit ...