Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",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.0008619/0.0008619, allocations: 97.53 kB / 15.69 MB, free: 488 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.0009207/0.0009207, allocations: 172.2 kB / 16.56 MB, free: 6.383 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.671/1.671, allocations: 205.4 MB / 222.7 MB, free: 5.688 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.337/0.337, allocations: 43.54 MB / 314.5 MB, free: 8.926 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.0004545/0.0004545, allocations: 16 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.09003, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.001447/0.0915, allocations: 1.275 MB / 444.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004171/0.09193, allocations: 255.9 kB / 444.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.09198, allocations: 0 / 444.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.09241, allocations: 447.1 kB / 444.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.09267, allocations: 243.5 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.09291, allocations: 91.77 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.09306, allocations: 115.8 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.06e-05/0.09313, allocations: 4 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-05/0.09323, allocations: 107.8 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.09339, allocations: 139.7 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.09341, allocations: 0 / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-05/0.09347, allocations: 16 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.09355, allocations: 79.75 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.0936, allocations: 69.45 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.09377, allocations: 179.9 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.09378, allocations: 0 / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.09378, allocations: 0 / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.09379, allocations: 0 / 445.8 MB, free: 10.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005384/0.09434, allocations: 0.5832 MB / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.09437, allocations: 8.031 kB / 446.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.527e-05/0.0944, allocations: 34.56 kB / 446.5 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.09445, allocations: 43.48 kB / 446.5 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.09469, allocations: 275.3 kB / 446.8 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.09471, allocations: 7.938 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.09472, allocations: 4 kB / 446.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.09484, allocations: 53.61 kB / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.09485, allocations: 0 / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.09486, allocations: 0 / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.09487, allocations: 3.953 kB / 446.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.09496, allocations: 31.97 kB / 446.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.09533, allocations: 364.9 kB / 447.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.09541, allocations: 38.5 kB / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.09543, allocations: 4 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.09546, allocations: 34.52 kB / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.09546, allocations: 0 / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002182/0.09569, allocations: 105.2 kB / 447.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.09573, allocations: 51.41 kB / 447.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.09644, allocations: 0.8692 MB / 448.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.09646, allocations: 29.7 kB / 448.3 MB, free: 7.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.09661, allocations: 216.1 kB / 448.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.09663, allocations: 11.84 kB / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.09664, allocations: 0 / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.09676, allocations: 358.8 kB / 448.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.09681, allocations: 8 kB / 448.9 MB, free: 6.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.09685, allocations: 23.92 kB / 449 MB, free: 6.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.09689, allocations: 8 kB / 449 MB, free: 6.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.0969, allocations: 0 / 449 MB, free: 6.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001355/0.09704, allocations: 97.11 kB / 449.1 MB, free: 6.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.09706, allocations: 4 kB / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.09707, allocations: 3.953 kB / 449.1 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.09708, allocations: 96 / 449.1 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.09713, allocations: 8 kB / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.09715, allocations: 4 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.09721, allocations: 0 / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.09722, allocations: 7.938 kB / 449.1 MB, free: 6.723 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001565/0.09738, allocations: 213.8 kB / 449.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.09743, allocations: 39.53 kB / 449.3 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.0976, allocations: 104.6 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.09762, allocations: 7.953 kB / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.09763, allocations: 4 kB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.09764, allocations: 0 / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.09787, allocations: 285.5 kB / 449.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.09788, allocations: 0 / 449.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.09792, allocations: 7.984 kB / 449.7 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.09793, allocations: 4 kB / 449.7 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.09794, allocations: 3.938 kB / 449.7 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.09795, allocations: 4.031 kB / 449.7 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.09795, allocations: 3.953 kB / 449.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.09811, allocations: 186.9 kB / 449.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.0982, allocations: 116.5 kB / 450 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.09823, allocations: 4 kB / 450 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.09831, allocations: 4.031 kB / 450.1 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.09834, allocations: 7.953 kB / 450.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.09835, allocations: 0 / 450.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005284/0.09888, allocations: 0.6511 MB / 450.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09889, allocations: 0 / 450.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000221/0.09912, allocations: 19.98 kB / 450.7 MB, free: 4.977 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0009502/0.1001, allocations: 0.9616 MB / 451.7 MB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.1002, allocations: 27.98 kB / 451.7 MB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1002, allocations: 4 kB / 451.7 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.1002, allocations: 8 kB / 451.7 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.1005, allocations: 25.89 kB / 451.8 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.1027, allocations: 2.145 MB / 453.9 MB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1031, allocations: 0.8262 MB / 454.7 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.853e-05/0.1031, allocations: 16.11 kB / 454.7 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.1032, allocations: 111.4 kB / 454.9 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1032, allocations: 0 / 454.9 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4619/0.5651, allocations: 5.104 MB / 460 MB, free: 45.61 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.5653, allocations: 214.5 kB / 460.2 MB, free: 45.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.475, allocations: 0 / 460.2 MB, free: 45.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat does not exist to compare? outputFormat=mat