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.0009676/0.0009678, allocations: 96.91 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 207.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002228/0.0002229, allocations: 7.984 kB / 306.7 MB, free: 1.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1089, allocations: 51.49 MB / 358.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0006761/0.1097, allocations: 222.1 kB / 358.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1115, allocations: 1.379 MB / 359.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.1115, allocations: 4 kB / 359.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.1116, allocations: 0 / 359.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.1116, allocations: 3.984 kB / 359.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.1121, allocations: 143.2 kB / 359.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.471e-05/0.1122, allocations: 7.984 kB / 359.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.1122, allocations: 3.984 kB / 359.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.1123, allocations: 15.94 kB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.1123, allocations: 4 kB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1123, allocations: 4 kB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1125, allocations: 103.8 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.1125, allocations: 0 / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.1126, allocations: 29.7 kB / 360.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.1127, allocations: 83.88 kB / 360.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1127, allocations: 0 / 360.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1127, allocations: 0 / 360.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1127, allocations: 0 / 360.2 MB, free: 11.98 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.0003295/0.1131, allocations: 343.3 kB / 360.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1131, allocations: 12.03 kB / 360.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.1132, allocations: 30.56 kB / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.1133, allocations: 4 kB / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1135, allocations: 163.3 kB / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.1136, allocations: 7.969 kB / 360.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.1136, allocations: 7.891 kB / 360.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.481e-05/0.1137, allocations: 29.7 kB / 360.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.1137, allocations: 3.938 kB / 360.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1137, allocations: 4 kB / 360.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1137, allocations: 3.938 kB / 360.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.1138, allocations: 8 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1142, allocations: 473 kB / 361.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.075e-05/0.1143, allocations: 169.1 kB / 361.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.1144, allocations: 83.28 kB / 361.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.1144, allocations: 109.8 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1144, allocations: 0 / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.206e-05/0.1145, allocations: 33.61 kB / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.1146, allocations: 152.4 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.1147, allocations: 109.8 kB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1147, allocations: 25.7 kB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.1148, allocations: 96.06 kB / 362 MB, free: 9.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.1148, allocations: 0 / 362 MB, free: 9.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-06/0.1148, allocations: 0 / 362 MB, free: 9.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1149, allocations: 314.8 kB / 362.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.1149, allocations: 0 / 362.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.115, allocations: 4 kB / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.717e-05/0.115, allocations: 0 / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.115, allocations: 3.953 kB / 362.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001134/0.1151, allocations: 45.78 kB / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1151, allocations: 4 kB / 362.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1152, allocations: 0 / 362.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1152, allocations: 4 kB / 362.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.035e-05/0.1152, allocations: 0 / 362.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1152, allocations: 0 / 362.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.1153, allocations: 3.906 kB / 362.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1153, allocations: 4 kB / 362.4 MB, free: 9.52 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 0.0001018/0.1154, allocations: 189.8 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.1155, allocations: 108.9 kB / 362.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.1155, allocations: 112.5 kB / 362.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-05/0.1156, allocations: 180.2 kB / 363 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.708e-05/0.1157, allocations: 180.3 kB / 363.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.833e-05/0.1158, allocations: 180.2 kB / 363.3 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.1161, allocations: 409.2 kB / 363.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-05/0.1161, allocations: 108.9 kB / 363.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.1162, allocations: 109.1 kB / 363.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.221e-05/0.1162, allocations: 176.3 kB / 364.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/0.1163, allocations: 188.2 kB / 364.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-05/0.1164, allocations: 176.3 kB / 364.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.235e-05/0.1164, allocations: 184.3 kB / 364.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1165, allocations: 303.8 kB / 364.9 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.1166, allocations: 194 kB / 365.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.1167, allocations: 188.1 kB / 365.3 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.1168, allocations: 105 kB / 365.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.1169, allocations: 184.2 kB / 365.6 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.1169, allocations: 101 kB / 365.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.176e-05/0.117, allocations: 87.27 kB / 365.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.117, allocations: 0 / 365.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1173, allocations: 44 kB / 365.8 MB, free: 5.859 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.0006191/0.1179, allocations: 0.8875 MB / 366.7 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.024e-05/0.118, allocations: 4 kB / 366.7 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.118, allocations: 8 kB / 366.7 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.118, allocations: 352 / 366.7 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.1184, allocations: 0.5224 MB / 367.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.1188, allocations: 207.6 kB / 367.4 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.119, allocations: 0.6809 MB / 368.1 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.815e-05/0.1191, allocations: 11.98 kB / 368.1 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.1191, allocations: 15.42 kB / 368.1 MB, free: 3.438 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1191, allocations: 0 / 368.1 MB, free: 3.438 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.1314, allocations: 1.617 MB / 369.8 MB, free: 1.973 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.1316, allocations: 235.8 kB / 370 MB, free: 1.727 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.005, allocations: 4 kB / 370 MB, free: 1.723 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