Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 177.5 kB / 8.005 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007883/0.0007881, allocations: 86.64 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2157/0.2157, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.978e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.6023, allocations: 86.5 MB / 0.5505 GB, free: 8.055 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.6026, allocations: 72.59 kB / 0.5506 GB, free: 8.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01415/0.6168, allocations: 7.756 MB / 0.5581 GB, free: 1.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6168, allocations: 0 / 0.5581 GB, free: 1.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.6169, allocations: 8 kB / 0.5581 GB, free: 1.395 MB / 362.7 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.0004852/0.6174, allocations: 0.5493 MB / 0.5587 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6174, allocations: 8.031 kB / 0.5587 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.6175, allocations: 47.39 kB / 0.5587 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.6179, allocations: 334.1 kB / 0.5591 GB, free: 432 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.6179, allocations: 0 / 0.5591 GB, free: 432 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.618, allocations: 7.938 kB / 0.5591 GB, free: 424 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.89e-05/0.618, allocations: 22.17 kB / 0.5591 GB, free: 408 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.685e-05/0.6181, allocations: 41.62 kB / 0.5591 GB, free: 364 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.6181, allocations: 7.938 kB / 0.5591 GB, free: 356 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.6182, allocations: 0 / 0.5591 GB, free: 356 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6182, allocations: 7.953 kB / 0.5591 GB, free: 348 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.6187, allocations: 420.5 kB / 0.5595 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.6189, allocations: 41.94 kB / 0.5596 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.6189, allocations: 8.859 kB / 0.5596 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.6189, allocations: 0 / 0.5596 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.619, allocations: 42.42 kB / 0.5596 GB, free: 15.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.619, allocations: 4 kB / 0.5596 GB, free: 15.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004468/0.6194, allocations: 191.5 kB / 0.5598 GB, free: 15.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.6195, allocations: 51.41 kB / 0.5599 GB, free: 15.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.6205, allocations: 0.7531 MB / 0.5606 GB, free: 15.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.6205, allocations: 25.7 kB / 0.5606 GB, free: 14.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.6207, allocations: 216.3 kB / 0.5608 GB, free: 14.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.6207, allocations: 15.62 kB / 0.5608 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.6207, allocations: 0 / 0.5608 GB, free: 14.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6209, allocations: 362.2 kB / 0.5612 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.6209, allocations: 15.86 kB / 0.5612 GB, free: 14.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.6209, allocations: 7.938 kB / 0.5612 GB, free: 14.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.6209, allocations: 11.94 kB / 0.5612 GB, free: 14.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.621, allocations: 0 / 0.5612 GB, free: 14.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001395/0.6211, allocations: 104.5 kB / 0.5613 GB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.6211, allocations: 7.984 kB / 0.5613 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6211, allocations: 0 / 0.5613 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6212, allocations: 3.953 kB / 0.5613 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.6212, allocations: 19.75 kB / 0.5614 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.6213, allocations: 0 / 0.5614 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.6213, allocations: 12.14 kB / 0.5614 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.6214, allocations: 0 / 0.5614 GB, free: 14.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.436e-05/0.6214, allocations: 101 kB / 0.5615 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001566/0.6216, allocations: 104.6 kB / 0.5616 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.6217, allocations: 43.48 kB / 0.5616 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.6219, allocations: 120.3 kB / 0.5617 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6219, allocations: 3.984 kB / 0.5617 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6219, allocations: 0 / 0.5617 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6219, allocations: 384 / 0.5617 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.6225, allocations: 0.5541 MB / 0.5623 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6226, allocations: 7.938 kB / 0.5623 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.6226, allocations: 12 kB / 0.5623 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6226, allocations: 3.938 kB / 0.5623 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.6227, allocations: 4 kB / 0.5623 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6227, allocations: 0 / 0.5623 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6227, allocations: 0 / 0.5623 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.6229, allocations: 198.4 kB / 0.5625 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.6231, allocations: 168.2 kB / 0.5626 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.6231, allocations: 0 / 0.5626 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.6232, allocations: 8 kB / 0.5626 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.6232, allocations: 7.984 kB / 0.5627 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.6233, allocations: 4 kB / 0.5627 GB, free: 13.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005542/0.6238, allocations: 0.606 MB / 0.5633 GB, free: 12.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6238, allocations: 0 / 0.5633 GB, free: 12.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.6241, allocations: 59.5 kB / 0.5633 GB, free: 12.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001112/0.6252, allocations: 0.9746 MB / 0.5643 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.6253, allocations: 40.86 kB / 0.5643 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6254, allocations: 0 / 0.5643 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.6254, allocations: 15.12 kB / 0.5643 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.6257, allocations: 27.62 kB / 0.5643 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.627, allocations: 0.8178 MB / 0.5651 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.6274, allocations: 0.8391 MB / 0.566 GB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.953e-05/0.6275, allocations: 39.98 kB / 0.566 GB, free: 9.891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.6277, allocations: 119.3 kB / 0.5661 GB, free: 9.855 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6277, allocations: 0 / 0.5661 GB, free: 9.855 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.6542, allocations: 5.855 MB / 0.5718 GB, free: 3.996 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.6544, allocations: 164.2 kB / 0.572 GB, free: 3.801 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.669, allocations: 3.938 kB / 0.572 GB, free: 3.797 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat