Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001356/0.001356, allocations: 118.3 kB / 18.5 MB, free: 4.562 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.001397/0.001397, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.499/1.499, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2319/0.2319, allocations: 44.9 MB / 355.8 MB, free: 12.34 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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.002029/0.002029, allocations: 71.89 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.139, allocations: 65.42 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003699/0.1427, allocations: 1.696 MB / 0.5542 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1446, allocations: 1.009 MB / 0.5552 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.1447, allocations: 4 kB / 0.5552 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.145, allocations: 87.69 kB / 0.5552 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.1454, allocations: 123.5 kB / 0.5554 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.1456, allocations: 67.69 kB / 0.5554 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.1458, allocations: 115.7 kB / 0.5555 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.1458, allocations: 240 / 0.5555 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1459, allocations: 55.72 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.146, allocations: 59.75 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1461, allocations: 4 kB / 0.5556 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1462, allocations: 35.98 kB / 0.5557 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.1462, allocations: 23.91 kB / 0.5557 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.1463, allocations: 35.75 kB / 0.5557 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1465, allocations: 111.8 kB / 0.5558 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1465, allocations: 0 / 0.5558 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1465, allocations: 3.938 kB / 0.5558 GB, free: 6.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1465, allocations: 0 / 0.5558 GB, free: 6.625 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006923/0.1472, allocations: 426.6 kB / 0.5563 GB, free: 6.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1473, allocations: 8.031 kB / 0.5563 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.75e-05/0.1473, allocations: 4.188 kB / 0.5563 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.1473, allocations: 30.75 kB / 0.5563 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.1474, allocations: 16.84 kB / 0.5563 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.1477, allocations: 216.1 kB / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1477, allocations: 12.12 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.1477, allocations: 0 / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1479, allocations: 49.61 kB / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1479, allocations: 4 kB / 0.5566 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1479, allocations: 3.938 kB / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1479, allocations: 0 / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.148, allocations: 15.98 kB / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.1482, allocations: 189.7 kB / 0.5568 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1484, allocations: 46.56 kB / 0.5568 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.1485, allocations: 20.84 kB / 0.5568 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1485, allocations: 0 / 0.5568 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1487, allocations: 79.33 kB / 0.5569 GB, free: 5.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.1487, allocations: 0 / 0.5569 GB, free: 5.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003125/0.149, allocations: 93.58 kB / 0.557 GB, free: 5.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.149, allocations: 55.41 kB / 0.5571 GB, free: 5.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.1493, allocations: 223.4 kB / 0.5573 GB, free: 4.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1493, allocations: 25.7 kB / 0.5573 GB, free: 4.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1494, allocations: 108.1 kB / 0.5574 GB, free: 4.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1494, allocations: 7.953 kB / 0.5574 GB, free: 4.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1495, allocations: 21.72 kB / 0.5574 GB, free: 4.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1497, allocations: 330.7 kB / 0.5577 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.231e-05/0.1497, allocations: 15.98 kB / 0.5578 GB, free: 4.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.688e-05/0.1498, allocations: 33.7 kB / 0.5578 GB, free: 4.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1499, allocations: 41.66 kB / 0.5578 GB, free: 4.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1499, allocations: 4 kB / 0.5578 GB, free: 4.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001805/0.1501, allocations: 89.52 kB / 0.5579 GB, free: 4.246 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1501, allocations: 4 kB / 0.5579 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1501, allocations: 0 / 0.5579 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1501, allocations: 4 kB / 0.5579 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.1502, allocations: 8 kB / 0.5579 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1502, allocations: 0 / 0.5579 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.1502, allocations: 7.984 kB / 0.5579 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1502, allocations: 0 / 0.5579 GB, free: 4.223 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.0001216/0.1504, allocations: 143.9 kB / 0.5581 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.1504, allocations: 15.89 kB / 0.5581 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.1504, allocations: 17 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1504, allocations: 0 / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1504, allocations: 0 / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1504, allocations: 0 / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.1506, allocations: 193.6 kB / 0.5583 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1506, allocations: 0 / 0.5583 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.1506, allocations: 4 kB / 0.5583 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1506, allocations: 320 / 0.5583 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1506, allocations: 4 kB / 0.5583 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1506, allocations: 4 kB / 0.5583 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1506, allocations: 0 / 0.5583 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.1509, allocations: 120.9 kB / 0.5584 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.1509, allocations: 88.98 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.151, allocations: 4 kB / 0.5585 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.541e-05/0.151, allocations: 0 / 0.5585 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.151, allocations: 7.938 kB / 0.5585 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.151, allocations: 8 kB / 0.5585 GB, free: 3.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.1512, allocations: 165.2 kB / 0.5587 GB, free: 3.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1512, allocations: 0 / 0.5587 GB, free: 3.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1514, allocations: 19.95 kB / 0.5587 GB, free: 3.348 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002049/0.1535, allocations: 0.9524 MB / 0.5596 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1536, allocations: 43.92 kB / 0.5597 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1536, allocations: 0 / 0.5597 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.452e-05/0.1537, allocations: 15.98 kB / 0.5597 GB, free: 2.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.154, allocations: 27.73 kB / 0.5597 GB, free: 2.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.156, allocations: 1.583 MB / 0.5613 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.1564, allocations: 0.7041 MB / 0.562 GB, free: 48 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.961e-05/0.1564, allocations: 16.53 kB / 0.562 GB, free: 28 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.1565, allocations: 35.47 kB / 0.562 GB, free: 15.99 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1565, allocations: 0 / 0.562 GB, free: 15.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.1754, allocations: 3.339 MB / 0.5653 GB, free: 12.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.605, allocations: 8.062 kB / 0.5653 GB, free: 12.73 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.757235155964736] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.783275030960795 8.7982948 8.648840317 Calling exit ...