Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.0008846/0.0008845, 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.0009746/0.0009746, allocations: 174.9 kB / 16.58 MB, free: 6.84 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.473/1.473, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.3518/0.3518, allocations: 43.55 MB / 314.6 MB, free: 8.77 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.0005503/0.0005506, allocations: 16 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1345, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002187/0.1368, allocations: 1.383 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.138, allocations: 0.7384 MB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.616e-05/0.1382, allocations: 0 / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.1385, allocations: 39.83 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.1387, allocations: 43.83 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.139, allocations: 75.8 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1391, allocations: 87.69 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.1392, allocations: 12.2 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.1393, allocations: 35.8 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.1394, allocations: 27.86 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1394, allocations: 4 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1396, allocations: 43.91 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.1396, allocations: 11.98 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.1397, allocations: 41.64 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1398, allocations: 88.03 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1399, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1399, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1399, allocations: 0 / 445.5 MB, free: 10.29 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.0005331/0.1404, allocations: 406.8 kB / 445.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1405, allocations: 12.03 kB / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.1405, allocations: 34.56 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.1406, allocations: 7.906 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1408, allocations: 202.8 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1408, allocations: 4 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1408, allocations: 0 / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.141, allocations: 57.67 kB / 446.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.141, allocations: 3.938 kB / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.141, allocations: 7.953 kB / 446.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1411, allocations: 3.938 kB / 446.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.1411, allocations: 19.98 kB / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.1415, allocations: 288.8 kB / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1417, allocations: 54.67 kB / 446.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.1418, allocations: 24.8 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1418, allocations: 7.984 kB / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.142, allocations: 71.33 kB / 446.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.142, allocations: 0 / 446.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005188/0.1425, allocations: 165.2 kB / 446.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1426, allocations: 55.41 kB / 446.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1428, allocations: 186.2 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1428, allocations: 33.7 kB / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.1429, allocations: 100.1 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.1429, allocations: 19.72 kB / 447.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1429, allocations: 0 / 447.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.143, allocations: 322.8 kB / 447.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.825e-05/0.1431, allocations: 23.98 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.1432, allocations: 37.64 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.326e-05/0.1432, allocations: 27.94 kB / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1433, allocations: 0 / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/0.1435, allocations: 113.6 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1435, allocations: 4 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1435, allocations: 0 / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1435, allocations: 0 / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1437, allocations: 23.92 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1437, allocations: 0 / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.1437, allocations: 0 / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1437, allocations: 8 kB / 447.8 MB, free: 7.773 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 0.0001372/0.1439, allocations: 129.8 kB / 447.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.1439, allocations: 19.77 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.144, allocations: 12.72 kB / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.144, allocations: 0 / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.144, allocations: 0 / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.144, allocations: 0 / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.1445, allocations: 403.2 kB / 448.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1445, allocations: 3.984 kB / 448.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.1445, allocations: 8.375 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1445, allocations: 0 / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1446, allocations: 4 kB / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1446, allocations: 4 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1446, allocations: 3.938 kB / 448.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1448, allocations: 204.3 kB / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.1449, allocations: 92.91 kB / 448.7 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1449, allocations: 4 kB / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.145, allocations: 4 kB / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.145, allocations: 7.984 kB / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1451, allocations: 4 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1452, allocations: 148 kB / 448.8 MB, free: 6.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1452, allocations: 0 / 448.8 MB, free: 6.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1454, allocations: 16 kB / 448.8 MB, free: 6.625 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.001486/0.1469, allocations: 1.105 MB / 449.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.1471, allocations: 55.91 kB / 450 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1471, allocations: 0 / 450 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/0.1472, allocations: 32.12 kB / 450 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1475, allocations: 23.98 kB / 450.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1487, allocations: 0.708 MB / 450.8 MB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.149, allocations: 0.7004 MB / 451.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.458e-05/0.1491, allocations: 12.88 kB / 451.5 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.1492, allocations: 35.42 kB / 451.5 MB, free: 3.887 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1492, allocations: 0 / 451.5 MB, free: 3.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.1643, allocations: 2.934 MB / 454.4 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.1645, allocations: 213.5 kB / 454.7 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/1.939, allocations: 4 kB / 454.7 MB, free: 0.7148 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat