Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.0009036/0.0009038, allocations: 96.7 kB / 15.7 MB, free: 468 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.001157/0.001157, allocations: 176.2 kB / 16.58 MB, free: 6.062 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.572/1.572, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3856/0.3856, allocations: 43.54 MB / 314.6 MB, free: 8.758 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.0004985/0.0004985, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1271, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001935/0.1291, allocations: 1.398 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1301, allocations: 0.7383 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.1302, allocations: 7.938 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.1305, allocations: 75.83 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1307, allocations: 59.8 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.1309, allocations: 75.78 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.131, allocations: 91.69 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.016e-05/0.1311, allocations: 16.19 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.1312, allocations: 47.78 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.1313, allocations: 51.81 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1313, allocations: 0 / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.196e-05/0.1314, allocations: 32 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.1314, allocations: 19.92 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.1315, allocations: 41.62 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1316, allocations: 88.09 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1316, allocations: 0 / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1316, allocations: 4 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.1316, allocations: 0 / 445.6 MB, free: 10.19 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004375/0.1321, allocations: 414.8 kB / 446 MB, free: 9.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1321, allocations: 15.97 kB / 446 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.1321, allocations: 30.56 kB / 446.1 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.1322, allocations: 15.8 kB / 446.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.1324, allocations: 211.5 kB / 446.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1324, allocations: 4 kB / 446.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1324, allocations: 0 / 446.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1326, allocations: 53.67 kB / 446.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1326, allocations: 4 kB / 446.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1326, allocations: 3.953 kB / 446.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1326, allocations: 4 kB / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.1327, allocations: 15.98 kB / 446.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.133, allocations: 292.8 kB / 446.7 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1331, allocations: 54.67 kB / 446.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.1332, allocations: 20.86 kB / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.1332, allocations: 0 / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.1334, allocations: 79.27 kB / 446.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1334, allocations: 4 kB / 446.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004664/0.1339, allocations: 169.2 kB / 447 MB, free: 8.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1339, allocations: 59.33 kB / 447 MB, free: 8.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1341, allocations: 218.3 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1341, allocations: 25.7 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.1342, allocations: 108.1 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1342, allocations: 23.66 kB / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.1342, allocations: 0 / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1343, allocations: 330.8 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.77e-05/0.1344, allocations: 12 kB / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.1345, allocations: 41.7 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.04e-05/0.1345, allocations: 24 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1345, allocations: 0 / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001621/0.1347, allocations: 105.4 kB / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1347, allocations: 11.94 kB / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1347, allocations: 0 / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.1348, allocations: 0 / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.1348, allocations: 15.98 kB / 447.9 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1348, allocations: 4 kB / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.1349, allocations: 8.031 kB / 447.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1349, allocations: 4.188 kB / 447.9 MB, free: 7.617 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 (10): * Single equations (assignments): 10 * 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 9.857e-05/0.135, allocations: 134.8 kB / 448.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.135, allocations: 19.8 kB / 448.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.1351, allocations: 17.41 kB / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1351, allocations: 0 / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1351, allocations: 0 / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1351, allocations: 3.984 kB / 448.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.1355, allocations: 399.3 kB / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1355, allocations: 0 / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.1356, allocations: 8 kB / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1356, allocations: 0 / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1356, allocations: 4 kB / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1356, allocations: 3.984 kB / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1356, allocations: 0 / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1358, allocations: 216.1 kB / 448.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.1359, allocations: 88.92 kB / 448.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1359, allocations: 0 / 448.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.136, allocations: 12.36 kB / 448.8 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.136, allocations: 7.984 kB / 448.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.136, allocations: 4 kB / 448.8 MB, free: 6.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1362, allocations: 160.2 kB / 449 MB, free: 6.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1362, allocations: 4 kB / 449 MB, free: 6.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1364, allocations: 20 kB / 449 MB, free: 6.434 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 (8): * Single equations (assignments): 6 * 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.001373/0.1378, allocations: 1.097 MB / 450.1 MB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.138, allocations: 47.98 kB / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.138, allocations: 0 / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.65e-05/0.1381, allocations: 39.86 kB / 450.2 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1384, allocations: 28.05 kB / 450.2 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1396, allocations: 0.7594 MB / 451 MB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.14, allocations: 0.7121 MB / 451.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.244e-05/0.14, allocations: 16.8 kB / 451.7 MB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.1401, allocations: 43.41 kB / 451.8 MB, free: 3.625 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1401, allocations: 0 / 451.8 MB, free: 3.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.1543, allocations: 3.02 MB / 454.8 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/0.1546, allocations: 213.5 kB / 455 MB, free: 380 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/1.854, allocations: 0 / 455 MB, free: 380 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat