Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.0007526/0.0007523, allocations: 88.19 kB / 15.7 MB, free: 460 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.0007932/0.0007932, allocations: 173.9 kB / 16.58 MB, free: 6.844 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.352/1.352, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3816/0.3816, allocations: 43.55 MB / 314.6 MB, free: 8.793 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.0005048/0.0005049, allocations: 16 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002324/0.1314, allocations: 1.476 MB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1337, allocations: 1.383 MB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1339, allocations: 0 / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1343, allocations: 51.81 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.1346, allocations: 79.61 kB / 445.9 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.135, allocations: 123.7 kB / 446 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.1354, allocations: 155.5 kB / 446.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.091e-05/0.1354, allocations: 13.55 kB / 446.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.1356, allocations: 67.64 kB / 446.2 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.1359, allocations: 75.61 kB / 446.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.136, allocations: 4 kB / 446.3 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.1361, allocations: 51.98 kB / 446.4 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.1362, allocations: 27.89 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.1363, allocations: 45.64 kB / 446.4 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1366, allocations: 120 kB / 446.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1366, allocations: 3.938 kB / 446.5 MB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1366, allocations: 0 / 446.5 MB, free: 9.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1366, allocations: 0 / 446.5 MB, free: 9.254 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008208/0.1374, allocations: 458.5 kB / 447 MB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.1375, allocations: 12.03 kB / 447 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.101e-05/0.1376, allocations: 30.56 kB / 447 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.1376, allocations: 11.91 kB / 447 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.138, allocations: 238.6 kB / 447.3 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1381, allocations: 11.94 kB / 447.3 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.1381, allocations: 4 kB / 447.3 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.1384, allocations: 97.08 kB / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1384, allocations: 0 / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1384, allocations: 7.953 kB / 447.4 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1384, allocations: 0 / 447.4 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1386, allocations: 35.91 kB / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.1389, allocations: 206.6 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1391, allocations: 101.2 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.597e-05/0.1392, allocations: 41.64 kB / 447.8 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.1393, allocations: 11.91 kB / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002762/0.1396, allocations: 117 kB / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.1396, allocations: 0 / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004305/0.14, allocations: 165.8 kB / 448.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/0.1401, allocations: 132.5 kB / 448.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1404, allocations: 215.7 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1404, allocations: 29.7 kB / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1406, allocations: 112.1 kB / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.1406, allocations: 31.64 kB / 448.6 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.1406, allocations: 0 / 448.6 MB, free: 6.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1408, allocations: 330.8 kB / 448.9 MB, free: 6.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.1409, allocations: 27.98 kB / 448.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.141, allocations: 69.14 kB / 449 MB, free: 6.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.048e-05/0.1411, allocations: 40.05 kB / 449 MB, free: 6.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1411, allocations: 0 / 449 MB, free: 6.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002574/0.1414, allocations: 129.4 kB / 449.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1414, allocations: 8 kB / 449.2 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1414, allocations: 0 / 449.2 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1414, allocations: 4.094 kB / 449.2 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1416, allocations: 27.94 kB / 449.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1416, allocations: 0 / 449.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.1417, allocations: 19.89 kB / 449.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1417, allocations: 4 kB / 449.2 MB, free: 6.277 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001318/0.1418, allocations: 129.8 kB / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1419, allocations: 15.81 kB / 449.4 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.1419, allocations: 28.92 kB / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.142, allocations: 4 kB / 449.4 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.142, allocations: 3.953 kB / 449.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.142, allocations: 4 kB / 449.4 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1422, allocations: 217.5 kB / 449.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1422, allocations: 0 / 449.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.1423, allocations: 8 kB / 449.6 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1423, allocations: 4 kB / 449.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1423, allocations: 0 / 449.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1423, allocations: 0 / 449.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1423, allocations: 4 kB / 449.6 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.1426, allocations: 177.7 kB / 449.8 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.306e-05/0.1427, allocations: 96.91 kB / 449.9 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.1427, allocations: 12 kB / 449.9 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.1428, allocations: 7.984 kB / 449.9 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.1429, allocations: 4 kB / 449.9 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.1429, allocations: 7.984 kB / 449.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1431, allocations: 173.4 kB / 450.1 MB, free: 5.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 0 / 450.1 MB, free: 5.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1434, allocations: 39.98 kB / 450.1 MB, free: 5.262 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00149/0.1449, allocations: 1.037 MB / 451.2 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.1451, allocations: 87.83 kB / 451.3 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1452, allocations: 0 / 451.3 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.1453, allocations: 39.92 kB / 451.3 MB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1456, allocations: 56.02 kB / 451.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.1472, allocations: 0.87 MB / 452.2 MB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1475, allocations: 0.7167 MB / 452.9 MB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.1476, allocations: 25.53 kB / 453 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.1477, allocations: 59.34 kB / 453 MB, free: 2.305 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1478, allocations: 0 / 453 MB, free: 2.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.268/0.4158, allocations: 4.124 MB / 457.1 MB, free: 45.76 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.416, allocations: 221.7 kB / 457.4 MB, free: 45.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.161, allocations: 0 / 457.4 MB, free: 45.52 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat