Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001953/0.001953, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.003311/0.003311, allocations: 219 kB / 21.46 MB, free: 1.586 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.558/1.558, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2271/0.2271, allocations: 44.9 MB / 355.8 MB, free: 12.36 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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",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.001968/0.001968, allocations: 75.88 kB / 0.4886 GB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1292, allocations: 65.42 MB / 0.5525 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003764/0.133, allocations: 2.034 MB / 0.5545 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.135, allocations: 1.12 MB / 0.5556 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1351, allocations: 7.938 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.1355, allocations: 43.69 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.1358, allocations: 111.4 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1361, allocations: 115.6 kB / 0.5559 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.1364, allocations: 207.4 kB / 0.5561 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1365, allocations: 17.91 kB / 0.5561 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1367, allocations: 91.61 kB / 0.5562 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1368, allocations: 83.56 kB / 0.5562 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.1369, allocations: 12 kB / 0.5563 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.137, allocations: 55.97 kB / 0.5563 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.1371, allocations: 39.84 kB / 0.5563 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.1371, allocations: 71.53 kB / 0.5564 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.1375, allocations: 203.1 kB / 0.5566 GB, free: 5.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1375, allocations: 0 / 0.5566 GB, free: 5.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1375, allocations: 0 / 0.5566 GB, free: 5.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1375, allocations: 4 kB / 0.5566 GB, free: 5.859 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001042/0.1385, allocations: 0.5679 MB / 0.5572 GB, free: 5.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1386, allocations: 12.03 kB / 0.5572 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.249e-05/0.1386, allocations: 4.125 kB / 0.5572 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.1386, allocations: 42.73 kB / 0.5572 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.1387, allocations: 20.84 kB / 0.5572 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1391, allocations: 251.9 kB / 0.5575 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1391, allocations: 12.12 kB / 0.5575 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.1391, allocations: 8 kB / 0.5575 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.1396, allocations: 154.1 kB / 0.5576 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1396, allocations: 4 kB / 0.5576 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.1396, allocations: 11.97 kB / 0.5577 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1396, allocations: 8 kB / 0.5577 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.1401, allocations: 103.9 kB / 0.5578 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.1408, allocations: 0.5516 MB / 0.5583 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.1415, allocations: 154.5 kB / 0.5585 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.1418, allocations: 72.8 kB / 0.5585 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1418, allocations: 0 / 0.5585 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.1422, allocations: 143.2 kB / 0.5587 GB, free: 3.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.1422, allocations: 0 / 0.5587 GB, free: 3.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009627/0.1432, allocations: 257.2 kB / 0.5589 GB, free: 3.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1432, allocations: 55.41 kB / 0.559 GB, free: 3.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.1435, allocations: 244.2 kB / 0.5592 GB, free: 2.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1435, allocations: 33.64 kB / 0.5592 GB, free: 2.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1436, allocations: 128.3 kB / 0.5593 GB, free: 2.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.1437, allocations: 35.69 kB / 0.5594 GB, free: 2.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/0.1437, allocations: 37.7 kB / 0.5594 GB, free: 2.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1439, allocations: 330.8 kB / 0.5597 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.1442, allocations: 67.94 kB / 0.5598 GB, free: 2.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.1445, allocations: 108.2 kB / 0.5599 GB, free: 2.211 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.145, allocations: 193.8 kB / 0.5601 GB, free: 2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.145, allocations: 0 / 0.5601 GB, free: 2 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007007/0.1457, allocations: 255 kB / 0.5603 GB, free: 1.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.1458, allocations: 37.69 kB / 0.5604 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1458, allocations: 0 / 0.5604 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1458, allocations: 3.938 kB / 0.5604 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.146, allocations: 39.91 kB / 0.5604 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.146, allocations: 0 / 0.5604 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1462, allocations: 39.95 kB / 0.5604 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.1462, allocations: 4 kB / 0.5604 GB, free: 1.609 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.0001381/0.1463, allocations: 140 kB / 0.5606 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1464, allocations: 15.91 kB / 0.5606 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.1464, allocations: 25.34 kB / 0.5606 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1464, allocations: 3.938 kB / 0.5606 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1464, allocations: 0 / 0.5606 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1464, allocations: 7.922 kB / 0.5606 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.1467, allocations: 229.5 kB / 0.5608 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1467, allocations: 4 kB / 0.5609 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.1468, allocations: 27.97 kB / 0.5609 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1468, allocations: 0 / 0.5609 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.1469, allocations: 11.92 kB / 0.5609 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1469, allocations: 0 / 0.5609 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1469, allocations: 0 / 0.5609 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.1478, allocations: 300.8 kB / 0.5612 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.1479, allocations: 96.94 kB / 0.5613 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.1479, allocations: 15.94 kB / 0.5613 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1481, allocations: 19.97 kB / 0.5613 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.1482, allocations: 23.97 kB / 0.5613 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1482, allocations: 4 kB / 0.5613 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.1483, allocations: 177.6 kB / 0.5615 GB, free: 440 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1483, allocations: 0 / 0.5615 GB, free: 440 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1486, allocations: 36 kB / 0.5615 GB, free: 404 kB / 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002724/0.1513, allocations: 1.141 MB / 0.5626 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000709/0.152, allocations: 223.1 kB / 0.5629 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.152, allocations: 4 kB / 0.5629 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.1523, allocations: 67.94 kB / 0.5629 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1527, allocations: 48.27 kB / 0.563 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.1564, allocations: 2.182 MB / 0.5651 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.1568, allocations: 0.728 MB / 0.5658 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.693e-05/0.1569, allocations: 29.45 kB / 0.5658 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.157, allocations: 55.42 kB / 0.5659 GB, free: 11.91 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.157, allocations: 0 / 0.5659 GB, free: 11.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03357/0.1906, allocations: 5.084 MB / 0.5709 GB, free: 6.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/8.755, allocations: 8.812 kB / 0.5709 GB, free: 6.906 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.881268109951634] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.964921222010162 8.980272736 8.839815964 Calling exit ...