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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009899/0.00099, allocations: 98.67 kB / 17 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 194 kB / 17.91 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002486/0.0002486, allocations: 7.984 kB / 306.8 MB, free: 1.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 51.48 MB / 358.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0006349/0.1076, allocations: 226.2 kB / 358.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1092, allocations: 1.399 MB / 359.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.1093, allocations: 0 / 359.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.1093, allocations: 0 / 359.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.838e-05/0.1093, allocations: 3.938 kB / 359.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.1099, allocations: 147.2 kB / 360.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.667e-05/0.1099, allocations: 11.94 kB / 360.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.11, allocations: 7.984 kB / 360.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.836e-05/0.11, allocations: 7.984 kB / 360.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.1101, allocations: 7.938 kB / 360.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1101, allocations: 4 kB / 360.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.1103, allocations: 111.8 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.1104, allocations: 3.984 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.1104, allocations: 25.7 kB / 360.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1105, allocations: 83.84 kB / 360.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1106, allocations: 4 kB / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1106, allocations: 0 / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1106, allocations: 0 / 360.3 MB, free: 11.74 MB / 302.1 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.000329/0.1109, allocations: 339.3 kB / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.111, allocations: 8.031 kB / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.111, allocations: 34.55 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.1111, allocations: 4 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1113, allocations: 179.2 kB / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1113, allocations: 0 / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1113, allocations: 7.953 kB / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.117e-05/0.1114, allocations: 37.62 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1114, allocations: 0 / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1114, allocations: 0 / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1114, allocations: 0 / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.1115, allocations: 4 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.112, allocations: 473 kB / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1121, allocations: 177.1 kB / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.1121, allocations: 80.14 kB / 361.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1122, allocations: 75.28 kB / 361.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.1122, allocations: 105.8 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1122, allocations: 0 / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.912e-05/0.1123, allocations: 37.61 kB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.1124, allocations: 156.3 kB / 362 MB, free: 9.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.856e-05/0.1125, allocations: 109.8 kB / 362.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1125, allocations: 29.7 kB / 362.1 MB, free: 9.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.1126, allocations: 80.14 kB / 362.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.1126, allocations: 0 / 362.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/0.1126, allocations: 0 / 362.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1127, allocations: 318.8 kB / 362.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.1127, allocations: 8 kB / 362.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.1127, allocations: 0 / 362.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.1128, allocations: 4 kB / 362.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1128, allocations: 3.953 kB / 362.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.717e-05/0.1129, allocations: 33.7 kB / 362.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1129, allocations: 4 kB / 362.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1129, allocations: 0 / 362.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1129, allocations: 0 / 362.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.113, allocations: 11.92 kB / 362.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.113, allocations: 4.125 kB / 362.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.113, allocations: 3.906 kB / 362.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.113, allocations: 4 kB / 362.6 MB, free: 9.203 MB / 302.1 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 9.434e-05/0.1131, allocations: 189.1 kB / 362.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.1132, allocations: 108.9 kB / 362.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.1133, allocations: 108.5 kB / 363 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.632e-05/0.1133, allocations: 184.2 kB / 363.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.983e-05/0.1134, allocations: 176.5 kB / 363.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.039e-05/0.1135, allocations: 192.1 kB / 363.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.1137, allocations: 401.2 kB / 363.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-05/0.1137, allocations: 105 kB / 364 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.1138, allocations: 116.9 kB / 364.2 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.922e-05/0.1138, allocations: 184.2 kB / 364.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/0.1139, allocations: 180.2 kB / 364.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.821e-05/0.114, allocations: 180.3 kB / 364.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-05/0.1141, allocations: 184.2 kB / 364.9 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1143, allocations: 307.8 kB / 365.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1144, allocations: 186 kB / 365.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.459e-05/0.1145, allocations: 184.2 kB / 365.5 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.1146, allocations: 104.9 kB / 365.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.1147, allocations: 184.2 kB / 365.8 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.1147, allocations: 105 kB / 365.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.1148, allocations: 87.28 kB / 366 MB, free: 5.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1148, allocations: 0 / 366 MB, free: 5.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000302/0.1151, allocations: 39.98 kB / 366 MB, free: 5.543 MB / 302.1 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.0006736/0.1158, allocations: 0.8856 MB / 366.9 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.1159, allocations: 4.344 kB / 366.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1159, allocations: 0 / 366.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.1159, allocations: 4 kB / 366.9 MB, free: 4.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.1163, allocations: 0.5329 MB / 367.5 MB, free: 4.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.1167, allocations: 207.5 kB / 367.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.117, allocations: 0.6731 MB / 368.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.565e-05/0.1171, allocations: 15.97 kB / 368.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.1172, allocations: 7.438 kB / 368.4 MB, free: 3.129 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1172, allocations: 4 kB / 368.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.1308, allocations: 1.626 MB / 370 MB, free: 1.652 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.131, allocations: 240.9 kB / 370.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/1.919, allocations: 0 / 370.2 MB, free: 1.41 MB / 302.1 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