Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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) 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(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.002324/0.002323, 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.819/2.819, 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.001186/0.001186, allocations: 93.67 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.098e-05, allocations: 4 kB / 314.9 MB, free: 9.051 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3725, allocations: 47.56 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.5051, allocations: 75.8 MB / 438.2 MB, free: 10.43 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5055, allocations: 75.95 kB / 438.3 MB, free: 10.35 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.026/0.5315, allocations: 5.213 MB / 443.5 MB, free: 5.168 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5316, allocations: 0 / 443.5 MB, free: 5.168 MB / 331.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.5316, allocations: 0 / 443.5 MB, free: 5.168 MB / 331.1 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.0004321/0.532, allocations: 352.7 kB / 443.9 MB, free: 4.781 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.5321, allocations: 12.03 kB / 443.9 MB, free: 4.77 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.5321, allocations: 5.406 kB / 443.9 MB, free: 4.766 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.5323, allocations: 172.9 kB / 444 MB, free: 4.559 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.5323, allocations: 0.8125 kB / 444 MB, free: 4.559 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.5324, allocations: 3.953 kB / 444 MB, free: 4.555 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.746e-05/0.5324, allocations: 8.562 kB / 444.1 MB, free: 4.551 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.373e-05/0.5325, allocations: 41.58 kB / 444.1 MB, free: 4.504 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5325, allocations: 0 / 444.1 MB, free: 4.504 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5326, allocations: 0 / 444.1 MB, free: 4.504 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5326, allocations: 0 / 444.1 MB, free: 4.504 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.533, allocations: 372.7 kB / 444.5 MB, free: 4.102 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.624e-05/0.5331, allocations: 173.1 kB / 444.6 MB, free: 3.922 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.5332, allocations: 84.14 kB / 444.7 MB, free: 3.836 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.5332, allocations: 75.28 kB / 444.8 MB, free: 3.762 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/0.5333, allocations: 111.5 kB / 444.9 MB, free: 3.645 MB / 331.1 MB Notification: Performance of pre-optimization done (n=0): time 3.396e-06/0.5333, allocations: 0 / 444.9 MB, free: 3.645 MB / 331.1 MB Notification: Performance of matching and sorting (n=0): time 8.551e-05/0.5334, allocations: 29.64 kB / 444.9 MB, free: 3.609 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.5335, allocations: 85.09 kB / 445 MB, free: 3.508 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.5336, allocations: 105 kB / 445.1 MB, free: 3.398 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.5336, allocations: 25.7 kB / 445.1 MB, free: 3.367 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.5337, allocations: 158.5 kB / 445.3 MB, free: 3.211 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.5338, allocations: 0 / 445.3 MB, free: 3.211 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.5338, allocations: 0 / 445.3 MB, free: 3.211 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5339, allocations: 310.8 kB / 445.6 MB, free: 2.898 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.5339, allocations: 7.984 kB / 445.6 MB, free: 2.891 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.534, allocations: 8 kB / 445.6 MB, free: 2.883 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.5341, allocations: 11.98 kB / 445.6 MB, free: 2.871 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5341, allocations: 0 / 445.6 MB, free: 2.871 MB / 331.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001792/0.5343, allocations: 49.58 kB / 445.7 MB, free: 2.816 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5344, allocations: 4 kB / 445.7 MB, free: 2.812 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5344, allocations: 0 / 445.7 MB, free: 2.812 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.5344, allocations: 0 / 445.7 MB, free: 2.812 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.5345, allocations: 6.438 kB / 445.7 MB, free: 2.809 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5345, allocations: 0 / 445.7 MB, free: 2.809 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.5345, allocations: 5.688 kB / 445.7 MB, free: 2.805 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.5346, allocations: 4 kB / 445.7 MB, free: 2.801 MB / 331.1 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 (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.0001256/0.5347, allocations: 184.2 kB / 445.9 MB, free: 2.613 MB / 331.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001015/0.5348, allocations: 139 kB / 446 MB, free: 2.465 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/0.5349, allocations: 108.9 kB / 446.1 MB, free: 2.352 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.535, allocations: 116.7 kB / 446.2 MB, free: 2.23 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.645e-05/0.5351, allocations: 184.2 kB / 446.4 MB, free: 2.043 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.213e-05/0.5352, allocations: 180.2 kB / 446.6 MB, free: 1.859 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.691e-05/0.5353, allocations: 180.2 kB / 446.8 MB, free: 1.676 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.5356, allocations: 389.7 kB / 447.1 MB, free: 1.25 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.033e-05/0.5356, allocations: 107.4 kB / 447.2 MB, free: 1.141 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.5357, allocations: 101 kB / 447.3 MB, free: 1.035 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.5358, allocations: 188.2 kB / 447.5 MB, free: 0.8438 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.5359, allocations: 183.3 kB / 447.7 MB, free: 0.6602 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.787e-05/0.536, allocations: 180.3 kB / 447.9 MB, free: 488 kB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.414e-05/0.5361, allocations: 184.2 kB / 448.1 MB, free: 296 kB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.5363, allocations: 303.8 kB / 448.4 MB, free: 15.97 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.5364, allocations: 186 kB / 448.5 MB, free: 15.76 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/0.5365, allocations: 184.2 kB / 448.7 MB, free: 15.57 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.5367, allocations: 105 kB / 448.8 MB, free: 15.46 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.5368, allocations: 184.2 kB / 449 MB, free: 15.28 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.5368, allocations: 101 kB / 449.1 MB, free: 15.17 MB / 347.1 MB Notification: Performance of sorting global known variables: time 8.381e-05/0.5369, allocations: 92.06 kB / 449.2 MB, free: 15.08 MB / 347.1 MB Notification: Performance of sort global known variables: time 4e-07/0.5369, allocations: 4 kB / 449.2 MB, free: 15.08 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.5374, allocations: 58.64 kB / 449.2 MB, free: 15.02 MB / 347.1 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.001075/0.5385, allocations: 0.8998 MB / 450.1 MB, free: 14.11 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 8.503e-05/0.5386, allocations: 4 kB / 450.2 MB, free: 14.1 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5387, allocations: 0 / 450.2 MB, free: 14.1 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.5387, allocations: 4.062 kB / 450.2 MB, free: 14.1 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.5391, allocations: 0.5277 MB / 450.7 MB, free: 13.57 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.5396, allocations: 207.6 kB / 450.9 MB, free: 13.32 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.54, allocations: 0.6846 MB / 451.6 MB, free: 12.61 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.54, allocations: 19.38 kB / 451.6 MB, free: 12.59 MB / 347.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5401, allocations: 0 / 451.6 MB, free: 12.59 MB / 347.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.44/2.98, allocations: 1.395 MB / 453 MB, free: 11.2 MB / 347.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat