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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000968/0.000968, allocations: 91.02 kB / 16.31 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 180.1 kB / 17.21 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 241.2 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002367/0.0002368, allocations: 8.344 kB / 300.9 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09687, allocations: 50.41 MB / 351.3 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0006177/0.09753, allocations: 233.9 kB / 351.5 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.09921, allocations: 1.342 MB / 352.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.09925, allocations: 0 / 352.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.09927, allocations: 0 / 352.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.252e-05/0.09931, allocations: 0 / 352.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.09984, allocations: 149.1 kB / 353 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.26e-05/0.0999, allocations: 12 kB / 353 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.09994, allocations: 0 / 353 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.09999, allocations: 11.92 kB / 353.1 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.1001, allocations: 8 kB / 353.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1001, allocations: 0 / 353.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.1003, allocations: 111.8 kB / 353.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.1003, allocations: 0 / 353.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.1003, allocations: 29.7 kB / 353.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.1005, allocations: 79.88 kB / 353.3 MB, free: 9.691 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1005, allocations: 0 / 353.3 MB, free: 9.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1005, allocations: 0 / 353.3 MB, free: 9.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1005, allocations: 0 / 353.3 MB, free: 9.691 MB / 286.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.0003034/0.1008, allocations: 351.4 kB / 353.6 MB, free: 9.301 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1009, allocations: 12.03 kB / 353.6 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.1009, allocations: 30.56 kB / 353.7 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.1009, allocations: 3.953 kB / 353.7 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.101, allocations: 163.1 kB / 353.8 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.1011, allocations: 8 kB / 353.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.1011, allocations: 0 / 353.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.553e-05/0.1012, allocations: 37.69 kB / 353.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1012, allocations: 0 / 353.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.1012, allocations: 0 / 353.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1012, allocations: 3.953 kB / 353.9 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.1012, allocations: 4 kB / 353.9 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1016, allocations: 477 kB / 354.3 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.1017, allocations: 169.1 kB / 354.5 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.1018, allocations: 80.14 kB / 354.6 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1018, allocations: 79.28 kB / 354.7 MB, free: 8.117 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.1018, allocations: 105.8 kB / 354.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1018, allocations: 4 kB / 354.8 MB, free: 8 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.284e-05/0.1019, allocations: 41.5 kB / 354.8 MB, free: 7.953 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.102, allocations: 152.4 kB / 355 MB, free: 7.785 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.1021, allocations: 109.8 kB / 355.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1021, allocations: 25.7 kB / 355.1 MB, free: 7.637 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.1022, allocations: 88.14 kB / 355.2 MB, free: 7.547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-06/0.1022, allocations: 0 / 355.2 MB, free: 7.547 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.1022, allocations: 0 / 355.2 MB, free: 7.547 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1024, allocations: 318.8 kB / 355.5 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.1024, allocations: 4 kB / 355.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.1024, allocations: 4 kB / 355.5 MB, free: 7.219 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.1024, allocations: 4 kB / 355.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1024, allocations: 0 / 355.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001084/0.1025, allocations: 37.64 kB / 355.5 MB, free: 7.172 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1026, allocations: 4 kB / 355.5 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1026, allocations: 3.984 kB / 355.6 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1026, allocations: 3.953 kB / 355.6 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5e-05/0.1026, allocations: 8.125 kB / 355.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1027, allocations: 0 / 355.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.1027, allocations: 3.938 kB / 355.6 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1027, allocations: 0 / 355.6 MB, free: 7.148 MB / 286.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.0001006/0.1028, allocations: 185.1 kB / 355.7 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.1029, allocations: 108.9 kB / 355.9 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.103, allocations: 116.4 kB / 356 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.592e-05/0.103, allocations: 184.2 kB / 356.1 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.667e-05/0.1031, allocations: 180.2 kB / 356.3 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-05/0.1031, allocations: 180.3 kB / 356.5 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1034, allocations: 401.5 kB / 356.9 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.46e-05/0.1034, allocations: 108.9 kB / 357 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.1035, allocations: 109 kB / 357.1 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.363e-05/0.1035, allocations: 184.2 kB / 357.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.1036, allocations: 180.3 kB / 357.5 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.06e-05/0.1037, allocations: 180.3 kB / 357.6 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.586e-05/0.1037, allocations: 184.2 kB / 357.8 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.1039, allocations: 315.8 kB / 358.1 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.104, allocations: 178.1 kB / 358.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.104, allocations: 180.3 kB / 358.5 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.1041, allocations: 108.9 kB / 358.6 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.1042, allocations: 176.3 kB / 358.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.1042, allocations: 112.9 kB / 358.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.1043, allocations: 87.28 kB / 358.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1043, allocations: 0 / 358.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.1046, allocations: 43.98 kB / 359 MB, free: 3.492 MB / 286.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.0006573/0.1053, allocations: 0.8744 MB / 359.9 MB, free: 2.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.774e-05/0.1053, allocations: 7.938 kB / 359.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1053, allocations: 0 / 359.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.1054, allocations: 0 / 359.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1057, allocations: 0.5344 MB / 360.4 MB, free: 2.062 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.1061, allocations: 211.5 kB / 360.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.1063, allocations: 0.6692 MB / 361.3 MB, free: 1.117 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.959e-05/0.1064, allocations: 15.97 kB / 361.3 MB, free: 1.102 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.1064, allocations: 15.44 kB / 361.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1065, allocations: 0 / 361.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.1176, allocations: 1.572 MB / 362.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.1179, allocations: 236.9 kB / 363.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.855, allocations: 0 / 363.1 MB, free: 15.42 MB / 302.1 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