Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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) 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(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",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.001221/0.001221, allocations: 180.8 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 94.03 kB / 291.5 MB, free: 10.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 7.984 kB / 351.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3175, allocations: 50.4 MB / 401.6 MB, free: 32.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.4265, allocations: 76.21 MB / 477.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.4268, allocations: 67.97 kB / 477.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.4427, allocations: 5.251 MB / 483.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4428, allocations: 3.938 kB / 483.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.4428, allocations: 0 / 483.1 MB, free: 14.88 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000424/0.4433, allocations: 363.2 kB / 483.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.4433, allocations: 12.03 kB / 483.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.4434, allocations: 30.56 kB / 483.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.4434, allocations: 7.953 kB / 483.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4436, allocations: 159.1 kB / 483.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4436, allocations: 0 / 483.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.4436, allocations: 0 / 483.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.4438, allocations: 33.69 kB / 483.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4438, allocations: 0 / 483.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4438, allocations: 0 / 483.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.4438, allocations: 7.953 kB / 483.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.4438, allocations: 7.938 kB / 483.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.4444, allocations: 469.1 kB / 484.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.636e-05/0.4445, allocations: 169.1 kB / 484.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.4445, allocations: 75.28 kB / 484.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.388e-05/0.4446, allocations: 117.8 kB / 484.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.4446, allocations: 0 / 484.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001026/0.4447, allocations: 29.66 kB / 484.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/0.4448, allocations: 156.4 kB / 484.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.4449, allocations: 105 kB / 484.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.445, allocations: 29.7 kB / 484.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.445, allocations: 87.98 kB / 484.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.4451, allocations: 0 / 484.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.4451, allocations: 4 kB / 484.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4452, allocations: 314.8 kB / 485.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.4452, allocations: 4 kB / 485.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.4453, allocations: 3.984 kB / 485.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/0.4453, allocations: 4 kB / 485.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4453, allocations: 3.938 kB / 485.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001172/0.4454, allocations: 37.64 kB / 485.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4454, allocations: 4 kB / 485.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4454, allocations: 4.125 kB / 485.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4455, allocations: 0 / 485.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.488e-05/0.4455, allocations: 7.953 kB / 485.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4455, allocations: 0 / 485.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.4456, allocations: 0 / 485.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.4456, allocations: 11.98 kB / 485.3 MB, free: 12.41 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001285/0.4457, allocations: 181.1 kB / 485.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.4458, allocations: 108.9 kB / 485.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.4459, allocations: 108.5 kB / 485.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-05/0.446, allocations: 176.3 kB / 485.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-05/0.4461, allocations: 192.1 kB / 486.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.341e-05/0.4462, allocations: 191.1 kB / 486.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.4465, allocations: 401.2 kB / 486.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/0.4465, allocations: 113 kB / 486.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.4466, allocations: 101 kB / 486.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.429e-05/0.4466, allocations: 180.2 kB / 487 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/0.4467, allocations: 176.3 kB / 487.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.935e-05/0.4468, allocations: 188.2 kB / 487.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.669e-05/0.4469, allocations: 176.3 kB / 487.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.4471, allocations: 315.6 kB / 487.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4473, allocations: 182.1 kB / 488 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.4474, allocations: 184.2 kB / 488.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.4475, allocations: 105 kB / 488.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4476, allocations: 180.3 kB / 488.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.4477, allocations: 112.9 kB / 488.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.516e-05/0.4477, allocations: 83.28 kB / 488.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4477, allocations: 3.938 kB / 488.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003626/0.4481, allocations: 51.89 kB / 488.7 MB, free: 8.754 MB / 362.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 () * Number of clocked 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.001009/0.4491, allocations: 0.898 MB / 489.6 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.4493, allocations: 11.94 kB / 489.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4493, allocations: 4 kB / 489.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.4493, allocations: 64 / 489.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.4497, allocations: 0.5185 MB / 490.2 MB, free: 7.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.4502, allocations: 215.6 kB / 490.4 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4506, allocations: 0.677 MB / 491.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.4507, allocations: 11.98 kB / 491.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.4508, allocations: 15.42 kB / 491.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4508, allocations: 0 / 491.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.4653, allocations: 1.528 MB / 492.6 MB, free: 4.953 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.4656, allocations: 236.1 kB / 492.8 MB, free: 4.715 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.183, allocations: 7.875 kB / 492.9 MB, free: 4.707 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat