Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.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.001309/0.001309, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001409/0.001409, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2441/0.2441, allocations: 46.93 MB / 361.6 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 179] 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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18",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.00235/0.00235, allocations: 79.86 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3295, allocations: 66.07 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003176/0.3327, allocations: 1.76 MB / 0.5633 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.3345, allocations: 1.049 MB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.3346, allocations: 0 / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.3349, allocations: 39.77 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.3352, allocations: 91.61 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3354, allocations: 87.55 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.3356, allocations: 115.7 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.3357, allocations: 5.969 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3358, allocations: 43.78 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.3359, allocations: 39.78 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.3359, allocations: 4 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.336, allocations: 39.98 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.336, allocations: 15.92 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.3361, allocations: 35.69 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3363, allocations: 119.5 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3363, allocations: 4 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3363, allocations: 0 / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3363, allocations: 4 kB / 0.5649 GB, free: 0.832 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.0005288/0.3368, allocations: 337.6 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3369, allocations: 12.03 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.3369, allocations: 34.75 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.337, allocations: 20.77 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.3373, allocations: 147.2 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3373, allocations: 4.375 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3373, allocations: 4.375 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3375, allocations: 61.8 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3375, allocations: 0 / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3375, allocations: 0 / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3375, allocations: 0 / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/0.3376, allocations: 19.98 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.338, allocations: 252 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3382, allocations: 66.61 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.3382, allocations: 16.86 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.3383, allocations: 0 / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.3384, allocations: 67.38 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3384, allocations: 4 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005583/0.339, allocations: 181.3 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.339, allocations: 55.41 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.3392, allocations: 183.3 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3392, allocations: 25.7 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.3393, allocations: 104.1 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3393, allocations: 23.8 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3394, allocations: 29.7 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3395, allocations: 326.7 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.3396, allocations: 20 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.3397, allocations: 41.64 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3398, allocations: 57.7 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3398, allocations: 0 / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.34, allocations: 109.5 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.34, allocations: 7.984 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.34, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.34, allocations: 4.031 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.3401, allocations: 16 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3401, allocations: 0 / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.3402, allocations: 7.922 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.3402, allocations: 7.938 kB / 0.5671 GB, free: 14.42 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.0001098/0.3403, allocations: 129.7 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.3403, allocations: 7.953 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.3406, allocations: 119 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3406, allocations: 4 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3406, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3406, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.341, allocations: 366.3 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.341, allocations: 0 / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.3411, allocations: 15.92 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3411, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3411, allocations: 4 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3411, allocations: 11.97 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3411, allocations: 320 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.3413, allocations: 196.3 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.3414, allocations: 15.91 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.3414, allocations: 3.984 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.3415, allocations: 8.312 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.3415, allocations: 11.98 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3415, allocations: 0 / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3417, allocations: 145.5 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3417, allocations: 0 / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3419, allocations: 27.92 kB / 0.5681 GB, free: 13.28 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.002121/0.3441, allocations: 1.075 MB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.3443, allocations: 59.84 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3443, allocations: 4.062 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.3443, allocations: 27.92 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.3447, allocations: 26.23 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.3466, allocations: 1.65 MB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.347, allocations: 0.7041 MB / 0.5716 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.557e-05/0.347, allocations: 17.27 kB / 0.5716 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.3471, allocations: 35.42 kB / 0.5716 GB, free: 9.703 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3471, allocations: 0 / 0.5716 GB, free: 9.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.3744, allocations: 3.492 MB / 0.575 GB, free: 6.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.312, allocations: 4.062 kB / 0.575 GB, free: 6.223 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.462305955123156] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.451057778205723 8.466103639 8.126676471 Calling exit ...