Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.000893, allocations: 92.28 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1946/0.1946, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.485e-05/1.486e-05, allocations: 224 / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.6013, allocations: 87.86 MB / 0.5806 GB, free: 8.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.6016, allocations: 63.97 kB / 0.5806 GB, free: 8.539 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01942/0.6211, allocations: 7.074 MB / 0.5875 GB, free: 1.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6211, allocations: 0 / 0.5875 GB, free: 1.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.6211, allocations: 8 kB / 0.5875 GB, free: 1.469 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004104/0.6216, allocations: 414.3 kB / 0.5879 GB, free: 1.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.6216, allocations: 11.98 kB / 0.5879 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.6218, allocations: 87.27 kB / 0.588 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.622, allocations: 234.4 kB / 0.5882 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.622, allocations: 150.6 kB / 0.5884 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.6221, allocations: 162.5 kB / 0.5885 GB, free: 352 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.368e-05/0.6221, allocations: 154.5 kB / 0.5887 GB, free: 196 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.254e-05/0.6222, allocations: 109 kB / 0.5888 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.6222, allocations: 75.28 kB / 0.5889 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.6223, allocations: 150.6 kB / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/0.6224, allocations: 154.6 kB / 0.5892 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.6226, allocations: 422.5 kB / 0.5896 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.87e-05/0.6227, allocations: 173.1 kB / 0.5897 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.6228, allocations: 80.14 kB / 0.5898 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.6228, allocations: 75.28 kB / 0.5899 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.6228, allocations: 109.8 kB / 0.59 GB, free: 14.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6228, allocations: 0 / 0.59 GB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.231e-05/0.6229, allocations: 37.64 kB / 0.59 GB, free: 14.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.623, allocations: 102.8 kB / 0.5901 GB, free: 14.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.6231, allocations: 85 kB / 0.5902 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.6231, allocations: 25.7 kB / 0.5902 GB, free: 14.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.6232, allocations: 88.2 kB / 0.5903 GB, free: 14.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.6232, allocations: 4 kB / 0.5903 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-07/0.6232, allocations: 3.938 kB / 0.5903 GB, free: 14.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6233, allocations: 314.8 kB / 0.5906 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-06/0.6233, allocations: 0 / 0.5906 GB, free: 14.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.6233, allocations: 10.47 kB / 0.5906 GB, free: 14.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.6234, allocations: 79.28 kB / 0.5907 GB, free: 14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.452e-05/0.6234, allocations: 75.28 kB / 0.5908 GB, free: 13.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.015e-05/0.6235, allocations: 33.72 kB / 0.5908 GB, free: 13.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.6235, allocations: 84.69 kB / 0.5909 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/0.6236, allocations: 79.22 kB / 0.591 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.492e-05/0.6236, allocations: 150.6 kB / 0.5911 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.666e-05/0.6236, allocations: 75.28 kB / 0.5912 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.527e-05/0.6237, allocations: 163.2 kB / 0.5913 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.6238, allocations: 83.28 kB / 0.5914 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.6238, allocations: 79.39 kB / 0.5915 GB, free: 13.19 MB / 410.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 (0): * Single equations (assignments): 0 * 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.0001192/0.624, allocations: 264.9 kB / 0.5917 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.044e-05/0.6241, allocations: 138.6 kB / 0.5919 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.6241, allocations: 101 kB / 0.592 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.6242, allocations: 116.4 kB / 0.5921 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.258e-05/0.6242, allocations: 189.7 kB / 0.5923 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.328e-05/0.6243, allocations: 176.3 kB / 0.5924 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.817e-05/0.6244, allocations: 180.2 kB / 0.5926 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.6246, allocations: 377.8 kB / 0.593 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-05/0.6246, allocations: 109 kB / 0.5931 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.6246, allocations: 108.9 kB / 0.5932 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-05/0.6247, allocations: 176.3 kB / 0.5933 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/0.6248, allocations: 176.3 kB / 0.5935 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.23e-05/0.6248, allocations: 180.2 kB / 0.5937 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.158e-05/0.6249, allocations: 188.2 kB / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.625, allocations: 308.2 kB / 0.5941 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.6251, allocations: 182.1 kB / 0.5943 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.6252, allocations: 184.2 kB / 0.5945 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.6253, allocations: 108.9 kB / 0.5946 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.6254, allocations: 180.3 kB / 0.5948 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.6254, allocations: 108.9 kB / 0.5949 GB, free: 9.492 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.977e-05/0.6255, allocations: 83.28 kB / 0.595 GB, free: 9.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.843e-06/0.6255, allocations: 0 / 0.595 GB, free: 9.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005666/0.626, allocations: 139.8 kB / 0.5951 GB, free: 9.273 MB / 410.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 (0): * Single equations (assignments): 0 * 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.001204/0.6272, allocations: 1.142 MB / 0.5962 GB, free: 8.152 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.313e-05/0.6273, allocations: 3.938 kB / 0.5962 GB, free: 8.148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6273, allocations: 0 / 0.5962 GB, free: 8.148 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.6273, allocations: 0 / 0.5962 GB, free: 8.148 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.6276, allocations: 0.5277 MB / 0.5967 GB, free: 7.617 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.628, allocations: 224.8 kB / 0.5969 GB, free: 7.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.6283, allocations: 0.6768 MB / 0.5976 GB, free: 6.656 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.035e-05/0.6283, allocations: 0 / 0.5976 GB, free: 6.656 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.6283, allocations: 19.38 kB / 0.5976 GB, free: 6.637 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6283, allocations: 0 / 0.5976 GB, free: 6.637 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.6508, allocations: 3.002 MB / 0.6005 GB, free: 3.641 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.6511, allocations: 168.8 kB / 0.6007 GB, free: 3.449 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.244, allocations: 0 / 0.6007 GB, free: 3.449 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat