Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.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.001292/0.001292, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.001408/0.001408, allocations: 210.4 kB / 23.48 MB, free: 5.23 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.461/1.461, 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.2375/0.2375, allocations: 46.88 MB / 360 MB, free: 4.719 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.Test64,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64",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.002257/0.002257, allocations: 79.88 kB / 0.4952 GB, free: 8.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3744, allocations: 65.99 MB / 0.5596 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003405/0.3778, allocations: 1.706 MB / 0.5613 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3797, allocations: 1.021 MB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.3798, allocations: 0 / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.3801, allocations: 59.75 kB / 0.5623 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.3805, allocations: 87.59 kB / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.3807, allocations: 79.67 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3809, allocations: 99.69 kB / 0.5626 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.984e-05/0.3809, allocations: 12.22 kB / 0.5626 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.381, allocations: 43.8 kB / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.3811, allocations: 31.83 kB / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.3811, allocations: 7.938 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.17e-05/0.3812, allocations: 24 kB / 0.5627 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.3813, allocations: 35.84 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.3814, allocations: 35.69 kB / 0.5628 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3816, allocations: 121.3 kB / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3816, allocations: 0 / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3816, allocations: 0 / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3816, allocations: 0 / 0.5629 GB, free: 1.586 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.0007291/0.3824, allocations: 450.5 kB / 0.5633 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3824, allocations: 12.03 kB / 0.5633 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.3825, allocations: 42.67 kB / 0.5634 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.3825, allocations: 8.891 kB / 0.5634 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.3829, allocations: 221 kB / 0.5636 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3829, allocations: 384 / 0.5636 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.3829, allocations: 4.375 kB / 0.5636 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3831, allocations: 53.8 kB / 0.5636 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3831, allocations: 4 kB / 0.5636 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3831, allocations: 0 / 0.5636 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3831, allocations: 4 kB / 0.5636 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.3832, allocations: 19.98 kB / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.3834, allocations: 181.7 kB / 0.5638 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.3836, allocations: 62.53 kB / 0.5639 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.3837, allocations: 16.86 kB / 0.5639 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.3837, allocations: 11.97 kB / 0.5639 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.3839, allocations: 63.33 kB / 0.564 GB, free: 284 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3839, allocations: 0 / 0.564 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003034/0.3842, allocations: 101.5 kB / 0.5641 GB, free: 176 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.3842, allocations: 55.41 kB / 0.5641 GB, free: 108 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.3846, allocations: 270.8 kB / 0.5644 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3846, allocations: 29.7 kB / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.3847, allocations: 116.1 kB / 0.5645 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.3847, allocations: 11.89 kB / 0.5645 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.3848, allocations: 25.66 kB / 0.5646 GB, free: 15.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3849, allocations: 326.8 kB / 0.5649 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.137e-05/0.385, allocations: 15.98 kB / 0.5649 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.385, allocations: 21.72 kB / 0.5649 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3851, allocations: 53.64 kB / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3851, allocations: 0 / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001712/0.3853, allocations: 85.53 kB / 0.565 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3853, allocations: 7.984 kB / 0.565 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3853, allocations: 0 / 0.565 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3854, allocations: 0 / 0.565 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.3854, allocations: 15.94 kB / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3855, allocations: 32 / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.3855, allocations: 19.83 kB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3855, allocations: 4 kB / 0.5651 GB, free: 15.07 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 (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.0001273/0.3856, allocations: 129.8 kB / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.3857, allocations: 15.84 kB / 0.5652 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.3859, allocations: 102.9 kB / 0.5653 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3859, allocations: 64 / 0.5653 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3859, allocations: 4 kB / 0.5653 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3859, allocations: 0 / 0.5653 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3861, allocations: 197.6 kB / 0.5655 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3861, allocations: 3.938 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.3861, allocations: 8 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3861, allocations: 0 / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3861, allocations: 3.984 kB / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3861, allocations: 0 / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3861, allocations: 0 / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3863, allocations: 109 kB / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.3864, allocations: 96.95 kB / 0.5657 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.3864, allocations: 4 kB / 0.5657 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.61e-05/0.3864, allocations: 4 kB / 0.5657 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.3865, allocations: 3.984 kB / 0.5657 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3865, allocations: 4 kB / 0.5657 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.3867, allocations: 200.5 kB / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3867, allocations: 0 / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.3869, allocations: 27.92 kB / 0.566 GB, free: 14.07 MB / 414.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.001919/0.3888, allocations: 0.9557 MB / 0.5669 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.389, allocations: 43.92 kB / 0.5669 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.389, allocations: 0 / 0.5669 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.04e-05/0.3891, allocations: 12 kB / 0.5669 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.3894, allocations: 38.53 kB / 0.567 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.3914, allocations: 1.686 MB / 0.5686 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.3918, allocations: 0.7243 MB / 0.5693 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.3918, allocations: 12.55 kB / 0.5693 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.3919, allocations: 39.42 kB / 0.5694 GB, free: 10.57 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3919, allocations: 4 kB / 0.5694 GB, free: 10.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.4167, allocations: 3.504 MB / 0.5728 GB, free: 7.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.349, allocations: 13.83 kB / 0.5728 GB, free: 7.07 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.353702266002074] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.471327843959443 8.493799971 8.107985575 Calling exit ...