Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.0009019/0.000902, allocations: 96.86 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.001112/0.001112, allocations: 173.6 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.458/1.458, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.3655/0.3655, allocations: 43.54 MB / 314.6 MB, free: 8.801 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.0005499/0.0005501, allocations: 16 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1348, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002221/0.137, allocations: 1.398 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1385, allocations: 0.7422 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.1387, allocations: 11.88 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.1391, allocations: 47.86 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.1394, allocations: 43.84 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1398, allocations: 75.83 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.14, allocations: 83.7 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1401, allocations: 24.19 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1402, allocations: 31.86 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1404, allocations: 35.78 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1404, allocations: 0 / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1405, allocations: 39.98 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.1406, allocations: 23.91 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.1407, allocations: 41.64 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1409, allocations: 100.1 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1409, allocations: 0 / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1409, allocations: 0 / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1409, allocations: 0 / 445.6 MB, free: 10.23 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.0006476/0.1416, allocations: 430.5 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1416, allocations: 8.031 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.1417, allocations: 34.56 kB / 446 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.1417, allocations: 11.81 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.142, allocations: 214.8 kB / 446.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.142, allocations: 4 kB / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.142, allocations: 4 kB / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1422, allocations: 53.67 kB / 446.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1422, allocations: 0 / 446.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1423, allocations: 3.953 kB / 446.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.1423, allocations: 0 / 446.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.1424, allocations: 23.92 kB / 446.3 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.1428, allocations: 288.9 kB / 446.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.143, allocations: 62.67 kB / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.143, allocations: 20.86 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1431, allocations: 0 / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.1432, allocations: 75.28 kB / 446.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1433, allocations: 4 kB / 446.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005405/0.1438, allocations: 181 kB / 447 MB, free: 8.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1438, allocations: 55.41 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1441, allocations: 254.5 kB / 447.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1441, allocations: 33.7 kB / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.1442, allocations: 112 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.1442, allocations: 31.62 kB / 447.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1442, allocations: 0 / 447.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.1443, allocations: 334.8 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.1444, allocations: 19.92 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1444, allocations: 37.7 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.469e-05/0.1445, allocations: 24 kB / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1445, allocations: 0 / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001662/0.1447, allocations: 109.4 kB / 448 MB, free: 7.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1447, allocations: 4.031 kB / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1447, allocations: 4 kB / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1447, allocations: 0 / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.1449, allocations: 16 kB / 448 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1449, allocations: 3.938 kB / 448 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.1449, allocations: 7.984 kB / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1449, allocations: 4 kB / 448 MB, free: 7.574 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.0001108/0.145, allocations: 141.8 kB / 448.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.1451, allocations: 19.77 kB / 448.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.1451, allocations: 25.39 kB / 448.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1451, allocations: 0 / 448.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1451, allocations: 0 / 448.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1452, allocations: 0 / 448.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.1456, allocations: 407.2 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1456, allocations: 0 / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.1456, allocations: 11.98 kB / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1456, allocations: 0 / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1456, allocations: 8.031 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1457, allocations: 0 / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1457, allocations: 0 / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1459, allocations: 208.1 kB / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.146, allocations: 89 kB / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.146, allocations: 4.375 kB / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.1461, allocations: 12 kB / 448.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.1461, allocations: 3.984 kB / 448.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1461, allocations: 8 kB / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.1463, allocations: 204 kB / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1463, allocations: 0 / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1466, allocations: 27.98 kB / 449.1 MB, free: 6.324 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.001411/0.148, allocations: 1.102 MB / 450.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1482, allocations: 63.91 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1482, allocations: 0 / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.1483, allocations: 27.98 kB / 450.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1486, allocations: 23.98 kB / 450.3 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.15, allocations: 0.8743 MB / 451.2 MB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1503, allocations: 0.72 MB / 451.9 MB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.685e-05/0.1504, allocations: 12.88 kB / 452 MB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.1505, allocations: 39.42 kB / 452 MB, free: 3.395 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1505, allocations: 0 / 452 MB, free: 3.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.1665, allocations: 3.25 MB / 455.2 MB, free: 144 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2745/0.441, allocations: 213.5 kB / 455.5 MB, free: 48.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.168, allocations: 0 / 455.5 MB, free: 48.71 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat