Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 122.2 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00214/0.00214, allocations: 215.1 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 44.92 MB / 355.8 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.91 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1369, allocations: 65.43 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003225/0.1401, allocations: 1.721 MB / 0.5542 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1418, allocations: 1.034 MB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.1419, allocations: 7.875 kB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1422, allocations: 39.83 kB / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.1424, allocations: 103.5 kB / 0.5554 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.1426, allocations: 79.66 kB / 0.5554 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1428, allocations: 99.75 kB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.1429, allocations: 16.27 kB / 0.5556 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.09e-05/0.143, allocations: 47.72 kB / 0.5556 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.1431, allocations: 39.78 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1431, allocations: 4 kB / 0.5556 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.564e-05/0.1432, allocations: 43.98 kB / 0.5557 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.1433, allocations: 19.91 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.1433, allocations: 35.73 kB / 0.5557 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1435, allocations: 127.4 kB / 0.5559 GB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1435, allocations: 0 / 0.5559 GB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1435, allocations: 4 kB / 0.5559 GB, free: 6.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1436, allocations: 0 / 0.5559 GB, free: 6.621 MB / 414.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.0006754/0.1442, allocations: 426.6 kB / 0.5563 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1443, allocations: 12.03 kB / 0.5563 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.682e-05/0.1443, allocations: 192 / 0.5563 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.1443, allocations: 30.75 kB / 0.5563 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1444, allocations: 24.77 kB / 0.5563 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.1447, allocations: 224.1 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1447, allocations: 8.109 kB / 0.5566 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.1447, allocations: 4 kB / 0.5566 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1449, allocations: 53.67 kB / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1449, allocations: 0 / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1449, allocations: 3.938 kB / 0.5566 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1449, allocations: 0 / 0.5566 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.634e-05/0.145, allocations: 19.98 kB / 0.5566 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.1454, allocations: 300.8 kB / 0.5569 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1456, allocations: 50.67 kB / 0.557 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.1457, allocations: 20.8 kB / 0.557 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1457, allocations: 0 / 0.557 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.1459, allocations: 71.39 kB / 0.5571 GB, free: 5.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.1459, allocations: 0 / 0.5571 GB, free: 5.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000581/0.1465, allocations: 173.3 kB / 0.5572 GB, free: 5.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.1465, allocations: 51.41 kB / 0.5573 GB, free: 4.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1468, allocations: 222 kB / 0.5575 GB, free: 4.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1468, allocations: 25.7 kB / 0.5575 GB, free: 4.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.1469, allocations: 108.1 kB / 0.5576 GB, free: 4.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1469, allocations: 31.78 kB / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.1469, allocations: 21.7 kB / 0.5577 GB, free: 4.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1471, allocations: 322.8 kB / 0.558 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.1472, allocations: 20 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.1472, allocations: 33.7 kB / 0.558 GB, free: 4.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1474, allocations: 65.64 kB / 0.5581 GB, free: 4.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1474, allocations: 4 kB / 0.5581 GB, free: 4.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.1476, allocations: 97.53 kB / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1476, allocations: 14.17 kB / 0.5582 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1476, allocations: 0 / 0.5582 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1476, allocations: 0 / 0.5582 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.1477, allocations: 12 kB / 0.5582 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1477, allocations: 7.938 kB / 0.5582 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.1478, allocations: 4 kB / 0.5582 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1478, allocations: 12.3 kB / 0.5582 GB, free: 3.953 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.0001143/0.1479, allocations: 121.9 kB / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1479, allocations: 16.09 kB / 0.5584 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.148, allocations: 21.39 kB / 0.5584 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.148, allocations: 11.88 kB / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.148, allocations: 7.938 kB / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.148, allocations: 0 / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.1485, allocations: 391.4 kB / 0.5588 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1485, allocations: 7.969 kB / 0.5588 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.1485, allocations: 8 kB / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.1485, allocations: 3.938 kB / 0.5588 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1485, allocations: 4 kB / 0.5588 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1485, allocations: 0 / 0.5588 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1485, allocations: 0 / 0.5588 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1488, allocations: 200.3 kB / 0.559 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.1489, allocations: 96.98 kB / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1489, allocations: 0 / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.1489, allocations: 11.98 kB / 0.5591 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.149, allocations: 11.92 kB / 0.5591 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.149, allocations: 4 kB / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1491, allocations: 156.3 kB / 0.5592 GB, free: 2.789 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1491, allocations: 0 / 0.5592 GB, free: 2.789 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1494, allocations: 23.94 kB / 0.5593 GB, free: 2.766 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.00223/0.1516, allocations: 1.111 MB / 0.5604 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.1518, allocations: 51.92 kB / 0.5604 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1518, allocations: 0 / 0.5604 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.1519, allocations: 27.92 kB / 0.5604 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1523, allocations: 34.7 kB / 0.5605 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.1542, allocations: 1.697 MB / 0.5621 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1546, allocations: 0.708 MB / 0.5628 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.595e-05/0.1546, allocations: 20.78 kB / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.1547, allocations: 35.42 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1547, allocations: 4 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.1735, allocations: 3.563 MB / 0.5664 GB, free: 11.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/8.709, allocations: 8.062 kB / 0.5664 GB, free: 11.63 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.76366101502208] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.889441951992922 8.905065479 8.758341095 Calling exit ...