Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001264/0.001265, allocations: 180.7 kB / 8.7 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.192/2.192, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 82.23 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.129e-05, allocations: 4.219 kB / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 47.59 MB / 363.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.5948, allocations: 76.04 MB / 439.2 MB, free: 3.328 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.5951, allocations: 73.2 kB / 439.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.6105, allocations: 5.228 MB / 444.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6106, allocations: 0 / 444.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.6106, allocations: 0 / 444.5 MB, free: 14.92 MB / 330.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.0004343/0.611, allocations: 350.4 kB / 444.8 MB, free: 14.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.105e-05/0.6111, allocations: 8.031 kB / 444.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.6112, allocations: 12.69 kB / 444.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.6114, allocations: 171 kB / 445 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.6114, allocations: 0 / 445 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.6115, allocations: 15.83 kB / 445 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.112e-05/0.6115, allocations: 3.984 kB / 445 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.212e-05/0.6116, allocations: 29.7 kB / 445.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6116, allocations: 0 / 445.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.6116, allocations: 0 / 445.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6117, allocations: 4 kB / 445.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.6121, allocations: 375.3 kB / 445.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.6122, allocations: 177 kB / 445.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.6123, allocations: 80.14 kB / 445.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.6124, allocations: 78.97 kB / 445.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/0.6124, allocations: 109.8 kB / 445.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.6124, allocations: 0 / 445.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 9.648e-05/0.6125, allocations: 29.7 kB / 445.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.6126, allocations: 77.11 kB / 446 MB, free: 13.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.6128, allocations: 108.2 kB / 446.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.6128, allocations: 25.7 kB / 446.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.6129, allocations: 86.92 kB / 446.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.6129, allocations: 0 / 446.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.6129, allocations: 0 / 446.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6131, allocations: 326.3 kB / 446.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.6131, allocations: 3.938 kB / 446.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.6131, allocations: 4 kB / 446.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.6132, allocations: 11.98 kB / 446.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6132, allocations: 3.938 kB / 446.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001586/0.6134, allocations: 49.14 kB / 446.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6134, allocations: 4 kB / 446.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6134, allocations: 0 / 446.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.6135, allocations: 0 / 446.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.6135, allocations: 8.125 kB / 446.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6135, allocations: 0 / 446.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.6136, allocations: 0 / 446.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.6136, allocations: 3.984 kB / 446.6 MB, free: 12.63 MB / 330.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 (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.000122/0.6137, allocations: 180.3 kB / 446.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.62e-05/0.6138, allocations: 139 kB / 446.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.6139, allocations: 108.9 kB / 447 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.614, allocations: 124.7 kB / 447.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.667e-05/0.6141, allocations: 179.5 kB / 447.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.681e-05/0.6142, allocations: 176.3 kB / 447.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.094e-05/0.6142, allocations: 180.2 kB / 447.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.6145, allocations: 385.5 kB / 448 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/0.6145, allocations: 101 kB / 448.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.6146, allocations: 116.9 kB / 448.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.117e-05/0.6147, allocations: 188.1 kB / 448.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/0.6148, allocations: 176.3 kB / 448.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.963e-05/0.6148, allocations: 180.2 kB / 448.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.507e-05/0.6149, allocations: 180.3 kB / 449 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.6151, allocations: 311.7 kB / 449.3 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/0.6152, allocations: 178.1 kB / 449.4 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.203e-05/0.6153, allocations: 188.2 kB / 449.6 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.6154, allocations: 110 kB / 449.7 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.6155, allocations: 188.1 kB / 449.9 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.6156, allocations: 101 kB / 450 MB, free: 9.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.921e-05/0.6156, allocations: 91.39 kB / 450.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6156, allocations: 0 / 450.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003234/0.616, allocations: 55.92 kB / 450.2 MB, free: 8.867 MB / 330.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.000925/0.6169, allocations: 0.908 MB / 451.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.617, allocations: 8 kB / 451.1 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.617, allocations: 0 / 451.1 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.719e-06/0.617, allocations: 368 / 451.1 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.6174, allocations: 0.5329 MB / 451.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.6178, allocations: 180.8 kB / 451.8 MB, free: 7.184 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.6181, allocations: 0.6846 MB / 452.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.163e-05/0.6182, allocations: 4 kB / 452.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.6182, allocations: 14.23 kB / 452.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6182, allocations: 0 / 452.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.6397, allocations: 1.437 MB / 453.9 MB, free: 5.02 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.64, allocations: 189.5 kB / 454.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.407, allocations: 0 / 454.1 MB, free: 4.82 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat