Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001035/0.001035, allocations: 177.6 kB / 8.008 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.643/1.643, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.001081/0.001081, allocations: 86.22 kB / 261.7 MB, free: 1.684 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.2279/0.2279, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.854e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.5804, allocations: 86.37 MB / 0.5504 GB, free: 8.375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5807, allocations: 75.25 kB / 0.5504 GB, free: 8.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01472/0.5955, allocations: 7.821 MB / 0.5581 GB, free: 1.652 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5956, allocations: 0 / 0.5581 GB, free: 1.652 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.5956, allocations: 4.844 kB / 0.5581 GB, free: 1.648 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000518/0.5961, allocations: 0.5417 MB / 0.5586 GB, free: 1.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.5962, allocations: 8.031 kB / 0.5586 GB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.5963, allocations: 51.38 kB / 0.5587 GB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.5967, allocations: 327.5 kB / 0.559 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5967, allocations: 0 / 0.559 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.5967, allocations: 4 kB / 0.559 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.222e-05/0.5968, allocations: 14.75 kB / 0.559 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.389e-05/0.5969, allocations: 49.67 kB / 0.559 GB, free: 0.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5969, allocations: 3.938 kB / 0.559 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.5969, allocations: 3.938 kB / 0.5591 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5969, allocations: 3.953 kB / 0.5591 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.5974, allocations: 413.1 kB / 0.5594 GB, free: 228 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.574e-05/0.5975, allocations: 26.14 kB / 0.5595 GB, free: 196 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.5975, allocations: 12.23 kB / 0.5595 GB, free: 184 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.5976, allocations: 0 / 0.5595 GB, free: 184 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.5976, allocations: 34.5 kB / 0.5595 GB, free: 140 kB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.5976, allocations: 0 / 0.5595 GB, free: 140 kB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001843/0.5978, allocations: 87.98 kB / 0.5596 GB, free: 48 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.5978, allocations: 51.41 kB / 0.5597 GB, free: 15.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.5989, allocations: 0.7534 MB / 0.5604 GB, free: 15.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.599, allocations: 25.7 kB / 0.5604 GB, free: 15.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.5991, allocations: 211.5 kB / 0.5606 GB, free: 15.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.5991, allocations: 7.781 kB / 0.5606 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.5992, allocations: 0 / 0.5606 GB, free: 15.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5993, allocations: 361.1 kB / 0.561 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.5993, allocations: 12.03 kB / 0.561 GB, free: 14.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.221e-05/0.5993, allocations: 3.984 kB / 0.561 GB, free: 14.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.258e-05/0.5994, allocations: 7.75 kB / 0.561 GB, free: 14.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5994, allocations: 0 / 0.561 GB, free: 14.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000116/0.5995, allocations: 84.72 kB / 0.5611 GB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5995, allocations: 8 kB / 0.5611 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5995, allocations: 0 / 0.5611 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5996, allocations: 0 / 0.5611 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.5996, allocations: 8.094 kB / 0.5611 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.5996, allocations: 3.953 kB / 0.5611 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.5997, allocations: 4 kB / 0.5611 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.5997, allocations: 0 / 0.5611 GB, free: 14.77 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 (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 7.303e-05/0.5998, allocations: 112.9 kB / 0.5612 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001234/0.5999, allocations: 81.02 kB / 0.5613 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.6, allocations: 39.44 kB / 0.5613 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.6002, allocations: 104.2 kB / 0.5614 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6002, allocations: 4.062 kB / 0.5614 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6002, allocations: 0 / 0.5614 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6002, allocations: 0 / 0.5614 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.6005, allocations: 303.8 kB / 0.5617 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6005, allocations: 3.938 kB / 0.5617 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.6006, allocations: 8 kB / 0.5617 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6006, allocations: 0 / 0.5617 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.6006, allocations: 4 kB / 0.5617 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6006, allocations: 0 / 0.5617 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6006, allocations: 7.891 kB / 0.5617 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.6008, allocations: 178.5 kB / 0.5619 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.601, allocations: 160.3 kB / 0.5621 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.6011, allocations: 0 / 0.5621 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.6012, allocations: 11.92 kB / 0.5621 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.6012, allocations: 0 / 0.5621 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.6012, allocations: 7.953 kB / 0.5621 GB, free: 13.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000586/0.6018, allocations: 0.6121 MB / 0.5627 GB, free: 13.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6018, allocations: 0 / 0.5627 GB, free: 13.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.6021, allocations: 48 kB / 0.5627 GB, free: 13.26 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 (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.001051/0.6032, allocations: 0.915 MB / 0.5636 GB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.688e-05/0.6033, allocations: 15.88 kB / 0.5636 GB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6033, allocations: 0 / 0.5636 GB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.6033, allocations: 7.875 kB / 0.5636 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.6036, allocations: 26.02 kB / 0.5637 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.6048, allocations: 0.8061 MB / 0.5644 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.6052, allocations: 0.8257 MB / 0.5653 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.825e-05/0.6053, allocations: 43.97 kB / 0.5653 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.6054, allocations: 115.7 kB / 0.5654 GB, free: 10.67 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6054, allocations: 0 / 0.5654 GB, free: 10.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.6317, allocations: 5.571 MB / 0.5708 GB, free: 5.09 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.6319, allocations: 164.2 kB / 0.571 GB, free: 4.895 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.5, allocations: 0 / 0.571 GB, free: 4.895 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat does not exist to compare? outputFormat=mat