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.001484/0.001484, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009135/0.0009132, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.692e-05, allocations: 4 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09072, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4402, allocations: 76.45 MB / 446.6 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4405, allocations: 73.39 kB / 446.6 MB, free: 0.793 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01473/0.4552, allocations: 5.247 MB / 451.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4553, allocations: 4 kB / 451.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4553, allocations: 0 / 451.9 MB, free: 12.33 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.0003833/0.4557, allocations: 346.4 kB / 452.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.4558, allocations: 8.031 kB / 452.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.4558, allocations: 38.31 kB / 452.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.4559, allocations: 8.688 kB / 452.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.456, allocations: 175 kB / 452.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4561, allocations: 0 / 452.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.4561, allocations: 7.891 kB / 452.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.512e-05/0.4562, allocations: 33.7 kB / 452.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.4562, allocations: 0 / 452.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.4562, allocations: 0 / 452.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4562, allocations: 3.984 kB / 452.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.4563, allocations: 11.73 kB / 452.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.4566, allocations: 395.9 kB / 452.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.4567, allocations: 172.9 kB / 453.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.4568, allocations: 80.14 kB / 453.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.4568, allocations: 75.28 kB / 453.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.4569, allocations: 113.8 kB / 453.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.143e-06/0.4569, allocations: 0 / 453.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.829e-05/0.457, allocations: 29.64 kB / 453.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.457, allocations: 156.4 kB / 453.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.4572, allocations: 107.9 kB / 453.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.4572, allocations: 25.7 kB / 453.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.4572, allocations: 91.91 kB / 453.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-06/0.4573, allocations: 0 / 453.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.4573, allocations: 0 / 453.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4574, allocations: 322.4 kB / 454 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.4574, allocations: 480 / 454 MB, free: 9.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.4574, allocations: 8 kB / 454 MB, free: 9.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/0.4575, allocations: 7.984 kB / 454.1 MB, free: 9.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4575, allocations: 3.953 kB / 454.1 MB, free: 9.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001132/0.4576, allocations: 41.39 kB / 454.1 MB, free: 9.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4576, allocations: 4 kB / 454.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4576, allocations: 0 / 454.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4576, allocations: 0 / 454.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.4577, allocations: 4 kB / 454.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.4577, allocations: 0 / 454.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.4577, allocations: 8.109 kB / 454.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.4578, allocations: 0 / 454.1 MB, free: 9.898 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 9.732e-05/0.4579, allocations: 180.3 kB / 454.3 MB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.4579, allocations: 104.9 kB / 454.4 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/0.458, allocations: 124.3 kB / 454.5 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-05/0.4581, allocations: 180.2 kB / 454.7 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.986e-05/0.4582, allocations: 184.2 kB / 454.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.757e-05/0.4582, allocations: 180.2 kB / 455 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.4584, allocations: 404.7 kB / 455.4 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.501e-05/0.4585, allocations: 108.9 kB / 455.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.4585, allocations: 107.4 kB / 455.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.674e-05/0.4586, allocations: 180.2 kB / 455.8 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.4587, allocations: 192.1 kB / 456 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.415e-05/0.4588, allocations: 180.3 kB / 456.2 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.36e-05/0.4588, allocations: 180.2 kB / 456.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.459, allocations: 311.3 kB / 456.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.4591, allocations: 182.1 kB / 456.8 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.4591, allocations: 184.2 kB / 457 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.4592, allocations: 108.9 kB / 457.1 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.4593, allocations: 180.3 kB / 457.3 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.4593, allocations: 112.7 kB / 457.4 MB, free: 6.383 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.063e-05/0.4594, allocations: 87.94 kB / 457.5 MB, free: 6.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4594, allocations: 0 / 457.5 MB, free: 6.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.4597, allocations: 59.92 kB / 457.6 MB, free: 6.242 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.0007361/0.4605, allocations: 0.897 MB / 458.5 MB, free: 5.332 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.652e-05/0.4606, allocations: 7.938 kB / 458.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4606, allocations: 0 / 458.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.4606, allocations: 0 / 458.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.4609, allocations: 0.5307 MB / 459 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.4612, allocations: 182.9 kB / 459.2 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.4614, allocations: 0.6809 MB / 459.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.273e-05/0.4615, allocations: 19.8 kB / 459.9 MB, free: 3.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.4615, allocations: 11.19 kB / 459.9 MB, free: 3.844 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4615, allocations: 4 kB / 459.9 MB, free: 3.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.4749, allocations: 1.808 MB / 461.7 MB, free: 2.035 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.4752, allocations: 198.5 kB / 461.9 MB, free: 1.816 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.075, allocations: 0 / 461.9 MB, free: 1.816 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