Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.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.001229/0.001229, allocations: 110.3 kB / 20.22 MB, free: 1.812 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.001407/0.001407, allocations: 217.6 kB / 23.48 MB, free: 5.254 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.407/1.407, allocations: 230.2 MB / 256.8 MB, free: 8.578 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.2233/0.2233, allocations: 46.9 MB / 360 MB, free: 4.734 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.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",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.002283/0.002283, allocations: 80.06 kB / 0.4951 GB, free: 8.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3328, allocations: 65.99 MB / 0.5596 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003597/0.3364, allocations: 2.049 MB / 0.5616 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3384, allocations: 1.13 MB / 0.5627 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.887e-05/0.3385, allocations: 7.938 kB / 0.5627 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.3388, allocations: 51.69 kB / 0.5628 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.3391, allocations: 107.4 kB / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.3394, allocations: 111.6 kB / 0.563 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.3397, allocations: 211.3 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3398, allocations: 19.52 kB / 0.5632 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.34, allocations: 83.69 kB / 0.5633 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3401, allocations: 79.61 kB / 0.5633 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.3401, allocations: 12 kB / 0.5633 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3402, allocations: 55.92 kB / 0.5634 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.3403, allocations: 39.84 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3405, allocations: 79.52 kB / 0.5635 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.3408, allocations: 203.1 kB / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3408, allocations: 0 / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3408, allocations: 0 / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3408, allocations: 0 / 0.5637 GB, free: 0.7695 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009602/0.3418, allocations: 0.5718 MB / 0.5643 GB, free: 140 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3418, allocations: 8.031 kB / 0.5643 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.3419, allocations: 38.75 kB / 0.5643 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.3419, allocations: 16.84 kB / 0.5643 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.3423, allocations: 251.9 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3423, allocations: 4.375 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.3423, allocations: 12.38 kB / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.3427, allocations: 158.6 kB / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3428, allocations: 3.984 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3428, allocations: 4 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3428, allocations: 0 / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.3432, allocations: 123.8 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.3439, allocations: 0.5438 MB / 0.5654 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006796/0.3446, allocations: 154.6 kB / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.3449, allocations: 68.8 kB / 0.5656 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.345, allocations: 11.97 kB / 0.5656 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.3454, allocations: 139.2 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.3454, allocations: 0 / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009278/0.3463, allocations: 257.4 kB / 0.566 GB, free: 14.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.3464, allocations: 51.41 kB / 0.566 GB, free: 14.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.3467, allocations: 240.8 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3467, allocations: 37.64 kB / 0.5663 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3468, allocations: 132.4 kB / 0.5664 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.3469, allocations: 35.69 kB / 0.5665 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.3469, allocations: 37.72 kB / 0.5665 GB, free: 13.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3471, allocations: 330.8 kB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.3474, allocations: 71.94 kB / 0.5669 GB, free: 13.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.3476, allocations: 104.2 kB / 0.567 GB, free: 13.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.3482, allocations: 193.6 kB / 0.5672 GB, free: 12.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3482, allocations: 0 / 0.5672 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006526/0.3488, allocations: 255 kB / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.3489, allocations: 37.69 kB / 0.5675 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3489, allocations: 0 / 0.5675 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3489, allocations: 8.125 kB / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.3491, allocations: 35.97 kB / 0.5675 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3491, allocations: 3.938 kB / 0.5675 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.3492, allocations: 27.92 kB / 0.5675 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.3493, allocations: 8 kB / 0.5675 GB, free: 12.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001331/0.3494, allocations: 133.8 kB / 0.5677 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.3494, allocations: 19.91 kB / 0.5677 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006385/0.3501, allocations: 210.8 kB / 0.5679 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.3501, allocations: 4 kB / 0.5679 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3501, allocations: 3.938 kB / 0.5679 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3501, allocations: 3.984 kB / 0.5679 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.3504, allocations: 237.5 kB / 0.5681 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3504, allocations: 0 / 0.5681 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.3505, allocations: 27.97 kB / 0.5681 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3505, allocations: 0 / 0.5681 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.3506, allocations: 7.984 kB / 0.5682 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3506, allocations: 0 / 0.5682 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3506, allocations: 3.938 kB / 0.5682 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.3515, allocations: 312.7 kB / 0.5685 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.3515, allocations: 93 kB / 0.5685 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.3516, allocations: 4 kB / 0.5685 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.3517, allocations: 27.97 kB / 0.5686 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.3518, allocations: 23.89 kB / 0.5686 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.3518, allocations: 8.062 kB / 0.5686 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.352, allocations: 173.6 kB / 0.5688 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.352, allocations: 0 / 0.5688 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3523, allocations: 35.94 kB / 0.5688 GB, free: 11.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002687/0.355, allocations: 1.135 MB / 0.5699 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.3556, allocations: 215.3 kB / 0.5701 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3556, allocations: 0 / 0.5701 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.3559, allocations: 71.94 kB / 0.5702 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.3563, allocations: 48.52 kB / 0.5702 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.3602, allocations: 2.194 MB / 0.5724 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3606, allocations: 0.7319 MB / 0.5731 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.3607, allocations: 25.52 kB / 0.5731 GB, free: 6.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3608, allocations: 55.36 kB / 0.5732 GB, free: 6.625 MB / 414.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3608, allocations: 0 / 0.5732 GB, free: 6.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.3879, allocations: 5.049 MB / 0.5781 GB, free: 1.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.727, allocations: 7.375 kB / 0.5781 GB, free: 1.605 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.618456335971132] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.851026872987859 8.866390162 8.522566259 Calling exit ...