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.001549/0.001558, allocations: 186.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001206, allocations: 88.28 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004385, allocations: 8 kB / 327.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3439, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.4794, allocations: 76.55 MB / 451.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/0.4798, allocations: 79.95 kB / 451.3 MB, free: 4.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03862/0.5185, allocations: 5.257 MB / 456.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5185, allocations: 0 / 456.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.5186, allocations: 4 kB / 456.5 MB, free: 14.78 MB / 346.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.0006736/0.5193, allocations: 367.1 kB / 456.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/0.5193, allocations: 8.031 kB / 456.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.5194, allocations: 34.56 kB / 456.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.5195, allocations: 4 kB / 456.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.5197, allocations: 163.1 kB / 457.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.5198, allocations: 0 / 457.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.5198, allocations: 11.95 kB / 457.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.52, allocations: 33.55 kB / 457.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.52, allocations: 0 / 457.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.52, allocations: 0 / 457.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5201, allocations: 0 / 457.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.925e-05/0.5201, allocations: 7.984 kB / 457.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.5208, allocations: 404 kB / 457.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.521, allocations: 169.1 kB / 457.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.521, allocations: 79.27 kB / 457.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.094e-05/0.5211, allocations: 117.8 kB / 457.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.674e-06/0.5211, allocations: 0 / 457.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001035/0.5212, allocations: 33.61 kB / 457.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.5213, allocations: 152.4 kB / 458.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.5215, allocations: 105 kB / 458.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.5215, allocations: 29.7 kB / 458.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.5216, allocations: 158.5 kB / 458.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.5217, allocations: 0 / 458.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.5217, allocations: 0 / 458.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5218, allocations: 318.8 kB / 458.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.5219, allocations: 0 / 458.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.5219, allocations: 11.98 kB / 458.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.5219, allocations: 4 kB / 458.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.522, allocations: 0 / 458.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001415/0.5221, allocations: 37.59 kB / 458.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5221, allocations: 8 kB / 458.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5222, allocations: 0 / 458.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.5222, allocations: 4.125 kB / 458.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.5223, allocations: 0 / 458.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.5223, allocations: 7.984 kB / 458.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.5223, allocations: 0 / 458.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.5224, allocations: 4 kB / 458.7 MB, free: 12.33 MB / 346.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.0001421/0.5225, allocations: 189.1 kB / 458.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.5226, allocations: 109.3 kB / 459 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.913e-05/0.5227, allocations: 116.3 kB / 459.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.578e-05/0.5228, allocations: 188.2 kB / 459.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.635e-05/0.5229, allocations: 180.3 kB / 459.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.616e-05/0.523, allocations: 180.2 kB / 459.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.5233, allocations: 405.2 kB / 460.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.568e-05/0.5234, allocations: 109 kB / 460.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.5234, allocations: 112.9 kB / 460.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.013e-05/0.5235, allocations: 180.2 kB / 460.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.799e-05/0.5236, allocations: 180.2 kB / 460.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.063e-05/0.5237, allocations: 180.3 kB / 460.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.189e-05/0.5238, allocations: 180.3 kB / 461 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.524, allocations: 307.8 kB / 461.3 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.5241, allocations: 182 kB / 461.5 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.5242, allocations: 192.2 kB / 461.7 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.5244, allocations: 101 kB / 461.8 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.5245, allocations: 184.1 kB / 461.9 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.5245, allocations: 105 kB / 462 MB, free: 8.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.687e-05/0.5247, allocations: 95.58 kB / 462.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5247, allocations: 0 / 462.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004503/0.5251, allocations: 51.94 kB / 462.2 MB, free: 8.656 MB / 346.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.0009763/0.5261, allocations: 0.9144 MB / 463.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.259e-05/0.5262, allocations: 4 kB / 463.1 MB, free: 7.727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5262, allocations: 3.938 kB / 463.1 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.5263, allocations: 4.062 kB / 463.1 MB, free: 7.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.5266, allocations: 0.5301 MB / 463.6 MB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/0.5274, allocations: 478 kB / 464.1 MB, free: 6.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.5277, allocations: 0.6809 MB / 464.8 MB, free: 5.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.5278, allocations: 11.42 kB / 464.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5278, allocations: 0 / 464.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.42/2.948, allocations: 1.401 MB / 466.2 MB, free: 4.551 MB / 346.7 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