Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00189/0.001889, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 95.3 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.134e-05, allocations: 8 kB / 343.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1602, allocations: 51.47 MB / 395.3 MB, free: 4.707 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4875/0.6478, allocations: 76.27 MB / 471.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.6481, allocations: 74.03 kB / 471.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.663, allocations: 5.253 MB / 476.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.586e-06/0.6631, allocations: 1.406 kB / 476.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.6631, allocations: 3.375 kB / 476.9 MB, free: 11.79 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.0004186/0.6635, allocations: 353.9 kB / 477.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.6636, allocations: 12.03 kB / 477.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.6638, allocations: 1.359 kB / 477.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.6639, allocations: 167.1 kB / 477.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.6639, allocations: 0.8594 kB / 477.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.6639, allocations: 0 / 477.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.263e-05/0.664, allocations: 7.938 kB / 477.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.5e-05/0.6641, allocations: 35.84 kB / 477.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.6641, allocations: 0 / 477.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.6641, allocations: 0 / 477.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.6641, allocations: 7.984 kB / 477.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.6646, allocations: 447.1 kB / 477.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.201e-05/0.6647, allocations: 173.1 kB / 478 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.6647, allocations: 84.08 kB / 478.1 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.6647, allocations: 79.28 kB / 478.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.6648, allocations: 107 kB / 478.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.6648, allocations: 0 / 478.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.641e-05/0.6649, allocations: 33.08 kB / 478.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.6649, allocations: 78.28 kB / 478.4 MB, free: 10.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.665, allocations: 101.7 kB / 478.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.665, allocations: 25.7 kB / 478.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.6651, allocations: 89.53 kB / 478.6 MB, free: 9.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.6651, allocations: 4 kB / 478.6 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.6651, allocations: 4 kB / 478.6 MB, free: 9.852 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.6652, allocations: 312.2 kB / 478.9 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.6652, allocations: 0 / 478.9 MB, free: 9.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.6652, allocations: 4 kB / 478.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.6653, allocations: 9.438 kB / 478.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6653, allocations: 0 / 478.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001273/0.6654, allocations: 40.34 kB / 479 MB, free: 9.488 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6654, allocations: 12.08 kB / 479 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.6654, allocations: 2.875 kB / 479 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.6655, allocations: 4 kB / 479 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/0.6655, allocations: 1.641 kB / 479 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6655, allocations: 0 / 479 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.6656, allocations: 0.75 kB / 479 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.6656, allocations: 4 kB / 479 MB, free: 9.469 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 7.591e-05/0.6657, allocations: 177.5 kB / 479.2 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.383e-05/0.6657, allocations: 140.4 kB / 479.3 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.6658, allocations: 104.9 kB / 479.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.6658, allocations: 110.5 kB / 479.5 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/0.6659, allocations: 185.4 kB / 479.7 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.654e-05/0.6659, allocations: 180.3 kB / 479.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.666, allocations: 182.2 kB / 480.1 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.6661, allocations: 386.6 kB / 480.4 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/0.6661, allocations: 104.9 kB / 480.5 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.6662, allocations: 106.5 kB / 480.6 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.624e-05/0.6662, allocations: 184.2 kB / 480.8 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.6663, allocations: 176.3 kB / 481 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.512e-05/0.6663, allocations: 178 kB / 481.2 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.8e-05/0.6663, allocations: 188.2 kB / 481.4 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.113e-05/0.6664, allocations: 306.8 kB / 481.7 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.6665, allocations: 183.8 kB / 481.8 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.6666, allocations: 181.3 kB / 482 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.6666, allocations: 113 kB / 482.1 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.6667, allocations: 184.1 kB / 482.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.6667, allocations: 101 kB / 482.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.509e-05/0.6668, allocations: 88.64 kB / 482.5 MB, free: 5.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6668, allocations: 0 / 482.5 MB, free: 5.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.6671, allocations: 48.89 kB / 482.5 MB, free: 5.766 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 () * 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.001052/0.6681, allocations: 0.9029 MB / 483.4 MB, free: 20.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.6682, allocations: 8 kB / 483.4 MB, free: 20.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6682, allocations: 0 / 483.4 MB, free: 20.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.6682, allocations: 1.547 kB / 483.4 MB, free: 20.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.6686, allocations: 0.5221 MB / 484 MB, free: 20.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.669, allocations: 180.9 kB / 484.1 MB, free: 20.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.6694, allocations: 0.6798 MB / 484.8 MB, free: 19.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.477e-05/0.6695, allocations: 14.8 kB / 484.8 MB, free: 19.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.6695, allocations: 12.58 kB / 484.9 MB, free: 19.41 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6695, allocations: 0 / 484.9 MB, free: 19.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.6907, allocations: 1.282 MB / 486.1 MB, free: 18.54 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.691, allocations: 191.1 kB / 486.3 MB, free: 18.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.49, allocations: 0 / 486.3 MB, free: 18.34 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat