Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009965/0.0009969, allocations: 99.28 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 45.16 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.964e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4192/0.5388, allocations: 89.7 MB / 0.592 GB, free: 12.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.539, allocations: 58.98 kB / 0.5921 GB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03749/0.5765, allocations: 13.12 MB / 0.6049 GB, free: 1.543 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5766, allocations: 0 / 0.6049 GB, free: 1.543 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.5766, allocations: 0 / 0.6049 GB, free: 1.543 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.0006522/0.5773, allocations: 463.5 kB / 0.6054 GB, free: 1.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5773, allocations: 8.031 kB / 0.6054 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.5774, allocations: 78.72 kB / 0.6054 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5775, allocations: 242.3 kB / 0.6057 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.5776, allocations: 150.6 kB / 0.6058 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.5776, allocations: 154.6 kB / 0.606 GB, free: 392 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.253e-05/0.5777, allocations: 154.5 kB / 0.6061 GB, free: 236 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.085e-05/0.5778, allocations: 105 kB / 0.6062 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.5778, allocations: 75.28 kB / 0.6063 GB, free: 48 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.5779, allocations: 158.6 kB / 0.6064 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.5779, allocations: 150.6 kB / 0.6066 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.5782, allocations: 429.2 kB / 0.607 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.303e-05/0.5783, allocations: 169.1 kB / 0.6071 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.5783, allocations: 84.14 kB / 0.6072 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.5784, allocations: 78.78 kB / 0.6073 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.822e-05/0.5784, allocations: 131.5 kB / 0.6074 GB, free: 14.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.765e-06/0.5785, allocations: 3.984 kB / 0.6074 GB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.629e-05/0.5785, allocations: 29.7 kB / 0.6075 GB, free: 14.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.5786, allocations: 81.09 kB / 0.6075 GB, free: 14.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.001e-05/0.5786, allocations: 89 kB / 0.6076 GB, free: 14.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.5787, allocations: 25.7 kB / 0.6076 GB, free: 14.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.5787, allocations: 80.14 kB / 0.6077 GB, free: 14.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.5787, allocations: 4 kB / 0.6077 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.5787, allocations: 0 / 0.6077 GB, free: 14.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5789, allocations: 310.8 kB / 0.608 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-06/0.5789, allocations: 0 / 0.608 GB, free: 14.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.5789, allocations: 3.938 kB / 0.608 GB, free: 14.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.5789, allocations: 75.28 kB / 0.6081 GB, free: 14.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.073e-05/0.579, allocations: 84.09 kB / 0.6082 GB, free: 13.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.358e-05/0.579, allocations: 33.66 kB / 0.6082 GB, free: 13.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.5791, allocations: 79.28 kB / 0.6083 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.5791, allocations: 79.28 kB / 0.6084 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.46e-05/0.5792, allocations: 158.5 kB / 0.6085 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.821e-05/0.5793, allocations: 75.28 kB / 0.6086 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-05/0.5793, allocations: 162.5 kB / 0.6087 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.5794, allocations: 83.22 kB / 0.6088 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.5795, allocations: 79.28 kB / 0.6089 GB, free: 13.25 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.0001292/0.5796, allocations: 255.5 kB / 0.6091 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.461e-05/0.5797, allocations: 142.6 kB / 0.6093 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.5797, allocations: 108.3 kB / 0.6094 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.5798, allocations: 108.7 kB / 0.6095 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.178e-05/0.5799, allocations: 184.2 kB / 0.6097 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.624e-05/0.5799, allocations: 177.7 kB / 0.6098 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.238e-05/0.58, allocations: 184.2 kB / 0.61 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.5802, allocations: 377.7 kB / 0.6104 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-05/0.5802, allocations: 105 kB / 0.6105 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.5803, allocations: 108.1 kB / 0.6106 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.411e-05/0.5803, allocations: 184.2 kB / 0.6107 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.5804, allocations: 180.2 kB / 0.6109 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.817e-05/0.5805, allocations: 176.3 kB / 0.6111 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.971e-05/0.5806, allocations: 180.2 kB / 0.6113 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.5807, allocations: 306.9 kB / 0.6115 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.5808, allocations: 182.4 kB / 0.6117 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.5809, allocations: 184.2 kB / 0.6119 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.5809, allocations: 101 kB / 0.612 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.581, allocations: 184.2 kB / 0.6122 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.5811, allocations: 116.9 kB / 0.6123 GB, free: 9.574 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.312e-05/0.5811, allocations: 79.28 kB / 0.6124 GB, free: 9.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5811, allocations: 0 / 0.6124 GB, free: 9.496 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008043/0.5819, allocations: 174.2 kB / 0.6125 GB, free: 9.332 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.001092/0.583, allocations: 1.09 MB / 0.6136 GB, free: 8.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.428e-05/0.5831, allocations: 4 kB / 0.6136 GB, free: 8.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5831, allocations: 4 kB / 0.6136 GB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.5831, allocations: 0 / 0.6136 GB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.5834, allocations: 0.5242 MB / 0.6141 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.5838, allocations: 248.3 kB / 0.6143 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.584, allocations: 0.6729 MB / 0.615 GB, free: 6.719 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.6e-06/0.584, allocations: 4 kB / 0.615 GB, free: 6.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.584, allocations: 7.438 kB / 0.615 GB, free: 6.707 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.584, allocations: 0 / 0.615 GB, free: 6.707 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.6084, allocations: 3.407 MB / 0.6183 GB, free: 3.312 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/0.6088, allocations: 146.6 kB / 0.6185 GB, free: 3.125 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.085, allocations: 4 kB / 0.6185 GB, free: 3.121 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat does not exist to compare? outputFormat=mat