Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001557, allocations: 175.4 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4797/0.4797, allocations: 43.55 MB / 314.5 MB, free: 8.797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005301/0.0005303, allocations: 26.95 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1527, allocations: 58.84 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002011/0.1548, allocations: 1.356 MB / 444.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1559, allocations: 0.715 MB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.1559, allocations: 3.938 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.1562, allocations: 47.81 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1564, allocations: 47.88 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.1566, allocations: 71.8 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.1568, allocations: 55.91 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.1568, allocations: 7.984 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.1569, allocations: 47.77 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/0.157, allocations: 27.91 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.157, allocations: 0 / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.466e-05/0.1571, allocations: 20 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.1571, allocations: 11.92 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.1572, allocations: 41.64 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.1573, allocations: 76.03 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1573, allocations: 0 / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1574, allocations: 4 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1574, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.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.0004957/0.1579, allocations: 386.9 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1579, allocations: 12.03 kB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.158, allocations: 30.56 kB / 445.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.158, allocations: 15.75 kB / 445.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1582, allocations: 202.9 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1582, allocations: 4 kB / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.1583, allocations: 0 / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1584, allocations: 49.66 kB / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1584, allocations: 0 / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1584, allocations: 11.95 kB / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1584, allocations: 3.938 kB / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/0.1585, allocations: 15.98 kB / 446.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.1587, allocations: 181.6 kB / 446.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1589, allocations: 54.56 kB / 446.3 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1589, allocations: 0 / 446.3 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.1591, allocations: 63.48 kB / 446.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1591, allocations: 0 / 446.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002545/0.1593, allocations: 93.52 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1594, allocations: 67.34 kB / 446.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1595, allocations: 166.2 kB / 446.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1596, allocations: 25.7 kB / 446.7 MB, free: 8.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.1596, allocations: 96.14 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1597, allocations: 23.78 kB / 446.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.1597, allocations: 0 / 446.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1598, allocations: 322.8 kB / 447.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.1598, allocations: 12 kB / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.1599, allocations: 29.7 kB / 447.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/0.16, allocations: 16 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.16, allocations: 0 / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001431/0.1601, allocations: 81.52 kB / 447.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1601, allocations: 8 kB / 447.3 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1602, allocations: 0 / 447.3 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1602, allocations: 0 / 447.3 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.1602, allocations: 12.03 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1603, allocations: 12.09 kB / 447.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.1603, allocations: 0 / 447.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1603, allocations: 4 kB / 447.3 MB, free: 8.242 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1604, allocations: 133.8 kB / 447.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.1604, allocations: 7.906 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.1605, allocations: 12.3 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1605, allocations: 0 / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1605, allocations: 0 / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1605, allocations: 7.953 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1607, allocations: 185.5 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1607, allocations: 0 / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.1607, allocations: 8.25 kB / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1607, allocations: 3.938 kB / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1607, allocations: 0 / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1607, allocations: 4 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1607, allocations: 0 / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1609, allocations: 113 kB / 447.8 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.161, allocations: 92.94 kB / 447.9 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.161, allocations: 7.938 kB / 447.9 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.161, allocations: 4 kB / 447.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.1611, allocations: 3.984 kB / 447.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1611, allocations: 4 kB / 447.9 MB, free: 7.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.1612, allocations: 131.9 kB / 448 MB, free: 7.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1612, allocations: 0 / 448 MB, free: 7.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1614, allocations: 20 kB / 448.1 MB, free: 7.426 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/0.1627, allocations: 0.9467 MB / 449 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.1629, allocations: 47.91 kB / 449 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1629, allocations: 0 / 449 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.668e-05/0.1629, allocations: 16 kB / 449.1 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.1632, allocations: 28.03 kB / 449.1 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1642, allocations: 0.7583 MB / 449.8 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1645, allocations: 0.7043 MB / 450.6 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.063e-05/0.1646, allocations: 12.42 kB / 450.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.1646, allocations: 27.42 kB / 450.6 MB, free: 4.816 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1646, allocations: 0 / 450.6 MB, free: 4.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.1782, allocations: 2.568 MB / 453.2 MB, free: 2.254 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.1784, allocations: 220.5 kB / 453.4 MB, free: 2.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/1.922, allocations: 4 kB / 453.4 MB, free: 2.004 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat