Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",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.001016/0.001016, allocations: 96.67 kB / 15.69 MB, free: 480 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.001022/0.001022, allocations: 178.6 kB / 16.57 MB, free: 6.391 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.745/1.745, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4832/0.4832, allocations: 43.55 MB / 314.5 MB, free: 9.023 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.000535/0.0005352, allocations: 16 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002147/0.1543, allocations: 1.392 MB / 444.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1556, allocations: 0.7383 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.1557, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.156, allocations: 103.7 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1562, allocations: 75.81 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1564, allocations: 63.8 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1566, allocations: 79.83 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.1567, allocations: 8.219 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.77e-05/0.1568, allocations: 55.81 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1569, allocations: 51.83 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1569, allocations: 0 / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.656e-05/0.157, allocations: 31.92 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.1571, allocations: 27.91 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.1571, allocations: 37.64 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1573, allocations: 100.1 kB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1573, allocations: 4 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1573, allocations: 0 / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1573, allocations: 0 / 445.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005968/0.1579, allocations: 434.5 kB / 446 MB, free: 9.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.158, allocations: 8.031 kB / 446 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.158, allocations: 34.56 kB / 446.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.158, allocations: 15.81 kB / 446.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1583, allocations: 214.6 kB / 446.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1583, allocations: 0 / 446.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1583, allocations: 7.984 kB / 446.3 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1585, allocations: 61.59 kB / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1585, allocations: 0 / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1586, allocations: 15.94 kB / 446.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1586, allocations: 0 / 446.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.726e-05/0.1587, allocations: 31.97 kB / 446.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1591, allocations: 300.8 kB / 446.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1593, allocations: 66.61 kB / 446.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1593, allocations: 8 kB / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.1595, allocations: 79.45 kB / 446.9 MB, free: 9.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.1595, allocations: 0 / 446.9 MB, free: 9.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000585/0.1601, allocations: 209 kB / 447.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1602, allocations: 55.39 kB / 447.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.1604, allocations: 246.6 kB / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1604, allocations: 25.7 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.1605, allocations: 116.1 kB / 447.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.1606, allocations: 31.55 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.1606, allocations: 7.938 kB / 447.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1607, allocations: 322.8 kB / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.1608, allocations: 27.92 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.1609, allocations: 41.7 kB / 447.9 MB, free: 7.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.161, allocations: 24 kB / 447.9 MB, free: 7.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.161, allocations: 7.984 kB / 447.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001971/0.1612, allocations: 117.4 kB / 448.1 MB, free: 7.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1612, allocations: 8 kB / 448.1 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1612, allocations: 0 / 448.1 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1612, allocations: 0 / 448.1 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.1613, allocations: 19.98 kB / 448.1 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1613, allocations: 3.938 kB / 448.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.1614, allocations: 4 kB / 448.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1614, allocations: 4 kB / 448.1 MB, free: 7.699 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 (11): * Single equations (assignments): 11 * 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.00013/0.1616, allocations: 141.8 kB / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.1616, allocations: 23.75 kB / 448.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.1616, allocations: 17.41 kB / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1616, allocations: 0 / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1617, allocations: 0 / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1617, allocations: 0 / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.1622, allocations: 427.2 kB / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1622, allocations: 192 / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-05/0.1622, allocations: 12 kB / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1622, allocations: 3.938 kB / 448.7 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1623, allocations: 0 / 448.7 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1623, allocations: 7.984 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1623, allocations: 0 / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.1626, allocations: 233.8 kB / 448.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1627, allocations: 88.92 kB / 449 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1627, allocations: 11.98 kB / 449 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1628, allocations: 3.938 kB / 449 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.1628, allocations: 11.92 kB / 449.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1628, allocations: 4 kB / 449.1 MB, free: 6.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.163, allocations: 184.5 kB / 449.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.163, allocations: 0 / 449.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1633, allocations: 28 kB / 449.3 MB, free: 6.41 MB / 382.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 (9): * Single equations (assignments): 7 * 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.001628/0.1649, allocations: 1.188 MB / 450.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1651, allocations: 71.84 kB / 450.5 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1652, allocations: 0 / 450.5 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.565e-05/0.1653, allocations: 31.98 kB / 450.6 MB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1655, allocations: 24.23 kB / 450.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.167, allocations: 1.02 MB / 451.6 MB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1673, allocations: 0.7199 MB / 452.3 MB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.1674, allocations: 24.77 kB / 452.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.1675, allocations: 47.42 kB / 452.4 MB, free: 3.207 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1675, allocations: 0 / 452.4 MB, free: 3.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2447/0.4122, allocations: 3.281 MB / 455.7 MB, free: 45.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.4125, allocations: 215.2 kB / 455.9 MB, free: 45.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.109, allocations: 0.9375 kB / 455.9 MB, free: 45.66 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat