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.001655/0.001655, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.7/1.7, allocations: 221.3 MB / 235.5 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 89.8 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.947e-05, allocations: 4 kB / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1605, allocations: 50.41 MB / 394.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.616, allocations: 76.14 MB / 470.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.6164, allocations: 71.97 kB / 470.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.6339, allocations: 5.24 MB / 475.8 MB, free: 6.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.634, allocations: 0 / 475.8 MB, free: 6.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.634, allocations: 0 / 475.8 MB, free: 6.039 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.0005219/0.6345, allocations: 346.4 kB / 476.1 MB, free: 5.656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.202e-05/0.6346, allocations: 8.031 kB / 476.1 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.442e-05/0.6347, allocations: 34.56 kB / 476.2 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.6347, allocations: 8.734 kB / 476.2 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.635, allocations: 170.9 kB / 476.3 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.635, allocations: 0 / 476.3 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.635, allocations: 0 / 476.3 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.6352, allocations: 33.69 kB / 476.4 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6352, allocations: 0 / 476.4 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.6352, allocations: 3.938 kB / 476.4 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.6352, allocations: 7.938 kB / 476.4 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.072e-05/0.6353, allocations: 8 kB / 476.4 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007389/0.636, allocations: 469.1 kB / 476.8 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.6362, allocations: 173.1 kB / 477 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.439e-05/0.6363, allocations: 80.14 kB / 477.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.529e-05/0.6364, allocations: 79.28 kB / 477.2 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.6365, allocations: 109.8 kB / 477.3 MB, free: 4.348 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.6365, allocations: 0 / 477.3 MB, free: 4.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001122/0.6366, allocations: 29.66 kB / 477.3 MB, free: 4.312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.6368, allocations: 156.3 kB / 477.5 MB, free: 4.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.637, allocations: 113 kB / 477.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.637, allocations: 25.7 kB / 477.6 MB, free: 3.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.6371, allocations: 84.14 kB / 477.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-06/0.6371, allocations: 3.938 kB / 477.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.6371, allocations: 0 / 477.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.6373, allocations: 314.8 kB / 478 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.6374, allocations: 4 kB / 478 MB, free: 3.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.6374, allocations: 4 kB / 478 MB, free: 3.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.292e-05/0.6374, allocations: 0 / 478 MB, free: 3.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6374, allocations: 0 / 478 MB, free: 3.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001452/0.6376, allocations: 45.69 kB / 478 MB, free: 3.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.6376, allocations: 4 kB / 478 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6376, allocations: 0 / 478 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.6377, allocations: 7.953 kB / 478.1 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.6377, allocations: 3.938 kB / 478.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.6377, allocations: 0 / 478.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.6378, allocations: 0 / 478.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.6378, allocations: 4 kB / 478.1 MB, free: 3.508 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 () * 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.0001515/0.638, allocations: 180.2 kB / 478.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.6381, allocations: 113 kB / 478.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.407e-05/0.6382, allocations: 104.6 kB / 478.4 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/0.6383, allocations: 180.2 kB / 478.6 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001114/0.6384, allocations: 188.2 kB / 478.8 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.5e-05/0.6385, allocations: 184.2 kB / 479 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.6389, allocations: 409.2 kB / 479.4 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-05/0.639, allocations: 104.9 kB / 479.5 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.639, allocations: 101 kB / 479.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.6391, allocations: 176.3 kB / 479.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.6393, allocations: 188.2 kB / 479.9 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001036/0.6394, allocations: 176.3 kB / 480.1 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.309e-05/0.6395, allocations: 188.2 kB / 480.3 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.6397, allocations: 307.7 kB / 480.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.6398, allocations: 193.9 kB / 480.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-05/0.6399, allocations: 176.3 kB / 481 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.64, allocations: 104.9 kB / 481.1 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.6402, allocations: 184.3 kB / 481.2 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.6402, allocations: 101 kB / 481.3 MB, free: 0 / 346.7 MB Notification: Performance of sorting global known variables: time 8.796e-05/0.6403, allocations: 99.55 kB / 481.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.044e-06/0.6403, allocations: 0 / 481.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003863/0.6407, allocations: 55.88 kB / 481.5 MB, free: 15.84 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 () * 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.001135/0.6419, allocations: 0.8832 MB / 482.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.642, allocations: 4 kB / 482.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.642, allocations: 0 / 482.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.829e-06/0.642, allocations: 8 kB / 482.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.6425, allocations: 0.5238 MB / 482.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.643, allocations: 173.9 kB / 483.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.6435, allocations: 0.677 MB / 483.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.6436, allocations: 19.92 kB / 483.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.6436, allocations: 11.44 kB / 483.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6437, allocations: 0 / 483.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.66, allocations: 1.552 MB / 485.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.6602, allocations: 205.8 kB / 485.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.428, allocations: 0 / 485.5 MB, free: 11.83 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