Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sources",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.002352/0.002352, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 87.42 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3614/0.3614, allocations: 43.48 MB / 353.5 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.249e-05, allocations: 0 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4009, allocations: 58.85 MB / 477.2 MB, free: 5.18 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.5632, allocations: 87.1 MB / 0.551 GB, free: 12.09 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5635, allocations: 71.45 kB / 0.5511 GB, free: 12.03 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03096/0.5945, allocations: 6.903 MB / 0.5579 GB, free: 5.102 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5946, allocations: 0 / 0.5579 GB, free: 5.102 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.5946, allocations: 8 kB / 0.5579 GB, free: 5.094 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001482/0.5961, allocations: 0.5886 MB / 0.5584 GB, free: 4.457 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5962, allocations: 12.03 kB / 0.5585 GB, free: 4.445 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.5963, allocations: 39.53 kB / 0.5585 GB, free: 4.406 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.5968, allocations: 280.2 kB / 0.5588 GB, free: 4.09 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.5968, allocations: 8 kB / 0.5588 GB, free: 4.082 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.373e-05/0.5969, allocations: 20 kB / 0.5588 GB, free: 4.062 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006104/0.5975, allocations: 189.5 kB / 0.559 GB, free: 3.879 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.5982, allocations: 282.3 kB / 0.5592 GB, free: 3.582 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5983, allocations: 0 / 0.5592 GB, free: 3.582 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.5983, allocations: 0 / 0.5592 GB, free: 3.582 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.5983, allocations: 8 kB / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.6011, allocations: 1.22 MB / 0.5604 GB, free: 2.281 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.6016, allocations: 154.5 kB / 0.5606 GB, free: 2.094 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.6018, allocations: 55.62 kB / 0.5606 GB, free: 2.027 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.6019, allocations: 8 kB / 0.5606 GB, free: 2.02 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.6019, allocations: 38.53 kB / 0.5607 GB, free: 1.973 MB / 395.1 MB Notification: Performance of pre-optimization done (n=15): time 8.827e-06/0.6019, allocations: 3.984 kB / 0.5607 GB, free: 1.969 MB / 395.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004828/0.6024, allocations: 129.5 kB / 0.5608 GB, free: 1.836 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.6025, allocations: 128.5 kB / 0.5609 GB, free: 1.68 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.6029, allocations: 234.2 kB / 0.5611 GB, free: 1.445 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.6029, allocations: 29.73 kB / 0.5612 GB, free: 1.41 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.6032, allocations: 302.1 kB / 0.5615 GB, free: 1.113 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.6032, allocations: 55.2 kB / 0.5615 GB, free: 1.059 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.6033, allocations: 0 / 0.5615 GB, free: 1.059 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6034, allocations: 318.8 kB / 0.5618 GB, free: 0.7383 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.6036, allocations: 48.56 kB / 0.5619 GB, free: 0.6875 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.6038, allocations: 136.6 kB / 0.562 GB, free: 0.5156 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.6041, allocations: 67.95 kB / 0.5621 GB, free: 460 kB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.6041, allocations: 0 / 0.5621 GB, free: 460 kB / 395.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005788/0.6047, allocations: 209.3 kB / 0.5623 GB, free: 244 kB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.6047, allocations: 8 kB / 0.5623 GB, free: 236 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.6047, allocations: 0 / 0.5623 GB, free: 236 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.6048, allocations: 8 kB / 0.5623 GB, free: 228 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.6054, allocations: 84.14 kB / 0.5624 GB, free: 144 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6054, allocations: 4 kB / 0.5624 GB, free: 140 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.606, allocations: 47.61 kB / 0.5624 GB, free: 92 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.606, allocations: 8 kB / 0.5624 GB, free: 84 kB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001453/0.6062, allocations: 120.9 kB / 0.5625 GB, free: 15.96 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004202/0.6066, allocations: 133.5 kB / 0.5627 GB, free: 15.82 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.6067, allocations: 23.72 kB / 0.5627 GB, free: 15.8 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.6068, allocations: 29.64 kB / 0.5627 GB, free: 15.76 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.6069, allocations: 3.953 kB / 0.5627 GB, free: 15.76 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.6069, allocations: 4 kB / 0.5627 GB, free: 15.75 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6069, allocations: 0 / 0.5627 GB, free: 15.75 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6081, allocations: 0.5373 MB / 0.5632 GB, free: 15.16 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.6081, allocations: 4 kB / 0.5632 GB, free: 15.15 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.6085, allocations: 43.92 kB / 0.5633 GB, free: 15.11 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.6085, allocations: 4 kB / 0.5633 GB, free: 15.11 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.6085, allocations: 4 kB / 0.5633 GB, free: 15.1 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.6086, allocations: 12.09 kB / 0.5633 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6086, allocations: 0 / 0.5633 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.6091, allocations: 397.1 kB / 0.5637 GB, free: 14.63 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.6092, allocations: 108.7 kB / 0.5638 GB, free: 14.51 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.6093, allocations: 4 kB / 0.5638 GB, free: 14.5 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.6097, allocations: 19.98 kB / 0.5638 GB, free: 14.48 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6098, allocations: 27.84 kB / 0.5638 GB, free: 14.46 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.6098, allocations: 4 kB / 0.5638 GB, free: 14.45 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.000266/0.6101, allocations: 178 kB / 0.564 GB, free: 14.28 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6101, allocations: 0 / 0.564 GB, free: 14.28 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005929/0.6107, allocations: 71.69 kB / 0.5641 GB, free: 14.21 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.001031/0.6118, allocations: 1.344 MB / 0.5654 GB, free: 12.8 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004487/0.6122, allocations: 136 kB / 0.5655 GB, free: 12.67 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6122, allocations: 0 / 0.5655 GB, free: 12.67 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.6124, allocations: 47.92 kB / 0.5656 GB, free: 12.62 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.6128, allocations: 16.89 kB / 0.5656 GB, free: 12.61 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.6143, allocations: 431.2 kB / 0.566 GB, free: 12.12 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.6148, allocations: 0.7791 MB / 0.5668 GB, free: 11.32 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.615, allocations: 99.41 kB / 0.5669 GB, free: 11.22 MB / 411.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6151, allocations: 0 / 0.5669 GB, free: 11.22 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.557/3.172, allocations: 4.331 MB / 0.5711 GB, free: 6.887 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat