Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001777/0.001777, allocations: 113 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.002182/0.002182, allocations: 217.4 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.535/1.535, 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.2325/0.2325, allocations: 44.91 MB / 355.8 MB, free: 12.39 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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.002055/0.002055, allocations: 67.91 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1408, allocations: 65.43 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003279/0.1441, allocations: 1.721 MB / 0.5542 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.146, allocations: 1.034 MB / 0.5552 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.88e-05/0.1461, allocations: 7.938 kB / 0.5552 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.1464, allocations: 39.77 kB / 0.5553 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.1468, allocations: 95.53 kB / 0.5554 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.147, allocations: 79.72 kB / 0.5554 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1472, allocations: 103.7 kB / 0.5555 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1473, allocations: 12.28 kB / 0.5555 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1474, allocations: 51.72 kB / 0.5556 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.1475, allocations: 31.84 kB / 0.5556 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.1475, allocations: 4 kB / 0.5556 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1476, allocations: 47.92 kB / 0.5557 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.1477, allocations: 27.91 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.1477, allocations: 31.75 kB / 0.5557 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.148, allocations: 111.5 kB / 0.5558 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.148, allocations: 3.938 kB / 0.5558 GB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.148, allocations: 0 / 0.5558 GB, free: 6.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.148, 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000676/0.1487, allocations: 430.6 kB / 0.5563 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1487, allocations: 8.031 kB / 0.5563 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.563e-05/0.1487, allocations: 4.188 kB / 0.5563 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.1488, allocations: 42.67 kB / 0.5563 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.1488, allocations: 8.891 kB / 0.5563 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.1491, allocations: 215.2 kB / 0.5565 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1492, allocations: 8.125 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1492, allocations: 4 kB / 0.5565 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1493, allocations: 53.67 kB / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1493, allocations: 0 / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1493, allocations: 4 kB / 0.5566 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1494, allocations: 4 kB / 0.5566 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.1494, allocations: 27.86 kB / 0.5566 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.1498, allocations: 284.9 kB / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.15, allocations: 54.67 kB / 0.5569 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.1501, allocations: 16.86 kB / 0.557 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1501, allocations: 0 / 0.557 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.1503, allocations: 75.31 kB / 0.557 GB, free: 5.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1503, allocations: 3.938 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005841/0.1509, allocations: 177.3 kB / 0.5572 GB, free: 5.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1509, allocations: 55.41 kB / 0.5573 GB, free: 4.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.1511, allocations: 198.3 kB / 0.5574 GB, free: 4.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.1511, allocations: 33.69 kB / 0.5575 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.1512, allocations: 100.1 kB / 0.5576 GB, free: 4.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1512, allocations: 27.83 kB / 0.5576 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.1513, allocations: 17.72 kB / 0.5576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1515, allocations: 326.8 kB / 0.5579 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.1515, allocations: 23.98 kB / 0.558 GB, free: 4.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.1516, allocations: 33.7 kB / 0.558 GB, free: 4.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1517, allocations: 65.72 kB / 0.558 GB, free: 4.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1517, allocations: 0 / 0.558 GB, free: 4.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002051/0.1519, allocations: 97.58 kB / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1519, allocations: 8 kB / 0.5581 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1519, allocations: 0 / 0.5581 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.152, allocations: 4.031 kB / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1521, allocations: 23.92 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.1521, allocations: 7.938 kB / 0.5582 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1521, allocations: 0 / 0.5582 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1521, allocations: 4 kB / 0.5582 GB, free: 3.984 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.0001203/0.1523, allocations: 129.8 kB / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1523, allocations: 11.91 kB / 0.5583 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.1523, allocations: 17.41 kB / 0.5583 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1523, allocations: 4 kB / 0.5583 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.1524, allocations: 7.922 kB / 0.5583 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1524, allocations: 0 / 0.5583 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.1529, allocations: 395.3 kB / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1529, allocations: 384 / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.1529, allocations: 8 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1529, allocations: 8.062 kB / 0.5587 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.1529, allocations: 11.98 kB / 0.5588 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1529, allocations: 3.938 kB / 0.5588 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1529, allocations: 4.031 kB / 0.5588 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1532, allocations: 204.3 kB / 0.559 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.1533, allocations: 92.95 kB / 0.559 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1533, allocations: 4 kB / 0.559 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.1534, allocations: 7.984 kB / 0.5591 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.1534, allocations: 4 kB / 0.5591 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1534, allocations: 8 kB / 0.5591 GB, free: 2.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1536, allocations: 148.2 kB / 0.5592 GB, free: 2.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1536, allocations: 0 / 0.5592 GB, free: 2.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1538, allocations: 20 kB / 0.5592 GB, free: 2.809 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.002213/0.156, allocations: 1.09 MB / 0.5603 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1562, allocations: 59.89 kB / 0.5603 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1562, allocations: 0 / 0.5603 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.1563, allocations: 32 kB / 0.5604 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1567, allocations: 36.73 kB / 0.5604 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.1587, allocations: 1.665 MB / 0.562 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.159, allocations: 0.708 MB / 0.5627 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.072e-05/0.1591, allocations: 16.81 kB / 0.5627 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.1591, allocations: 35.42 kB / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1591, allocations: 0 / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.1795, allocations: 3.519 MB / 0.5662 GB, free: 11.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.553, allocations: 4.062 kB / 0.5662 GB, free: 11.76 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.691513611003757] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.737096077995375 8.763537229 8.610067607 Calling exit ...