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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 62.83 kB / 307.6 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 50.53 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001995/0.1067, allocations: 0.498 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1087, allocations: 1.441 MB / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.1088, allocations: 4 kB / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.1088, allocations: 0 / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.352e-05/0.1089, allocations: 3.938 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.1096, allocations: 175 kB / 360.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.531e-05/0.1097, allocations: 23.91 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.1097, allocations: 0 / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.1098, allocations: 15.94 kB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.1098, allocations: 11.98 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.1099, allocations: 0 / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.1101, allocations: 127.8 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.1101, allocations: 0 / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.1101, allocations: 3.938 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1104, allocations: 127.8 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1104, allocations: 0 / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1104, allocations: 0 / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1104, allocations: 0 / 360.6 MB, free: 11.71 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.0004319/0.1109, allocations: 355.7 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1109, allocations: 11.97 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.1111, allocations: 4.938 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.1112, allocations: 176.3 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1113, allocations: 384 / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1113, allocations: 4.125 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1114, allocations: 37.64 kB / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1114, allocations: 0 / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1114, allocations: 0 / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1114, allocations: 0 / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.59e-05/0.1115, allocations: 8 kB / 361.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.1119, allocations: 473 kB / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.112, allocations: 173.1 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.1121, allocations: 80.14 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.1121, allocations: 79.28 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.1121, allocations: 113.8 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1122, allocations: 4 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.956e-05/0.1122, allocations: 29.69 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.1123, allocations: 152.4 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1124, allocations: 117.8 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1125, allocations: 25.7 kB / 362.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.1125, allocations: 88.05 kB / 362.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.1125, allocations: 0 / 362.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.1126, allocations: 13.72 kB / 362.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1127, allocations: 322.8 kB / 362.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.1127, allocations: 4 kB / 362.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.1128, allocations: 4 kB / 362.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.1128, allocations: 4.859 kB / 362.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1128, allocations: 4.094 kB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001124/0.1129, allocations: 33.7 kB / 362.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1129, allocations: 4 kB / 362.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1129, allocations: 4 kB / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.113, allocations: 0 / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.113, allocations: 11.92 kB / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1131, allocations: 0 / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.1131, allocations: 4 kB / 362.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1131, allocations: 0 / 362.9 MB, free: 9.164 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.707e-05/0.1132, allocations: 193 kB / 363 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.1133, allocations: 105 kB / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.1133, allocations: 116.4 kB / 363.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.116e-05/0.1134, allocations: 180.3 kB / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-05/0.1135, allocations: 180.3 kB / 363.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/0.1135, allocations: 180.2 kB / 363.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.1138, allocations: 417.1 kB / 364.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/0.1138, allocations: 105 kB / 364.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.1139, allocations: 105 kB / 364.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.315e-05/0.1139, allocations: 184.2 kB / 364.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/0.114, allocations: 180.2 kB / 364.8 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.087e-05/0.1141, allocations: 180.3 kB / 364.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.508e-05/0.1142, allocations: 184.2 kB / 365.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.1143, allocations: 307.8 kB / 365.4 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.1144, allocations: 193.9 kB / 365.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/0.1144, allocations: 176.5 kB / 365.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.1145, allocations: 112.9 kB / 365.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.1146, allocations: 188.2 kB / 366.1 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.1147, allocations: 101 kB / 366.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.1147, allocations: 83.28 kB / 366.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.232e-06/0.1147, allocations: 4 kB / 366.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.115, allocations: 43.92 kB / 366.3 MB, free: 5.492 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004837/0.1155, allocations: 254.4 kB / 366.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.78e-05/0.1156, allocations: 4 kB / 366.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1156, allocations: 0 / 366.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.1156, allocations: 0 / 366.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.116, allocations: 463.8 kB / 367 MB, free: 4.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.1163, allocations: 189.9 kB / 367.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1165, allocations: 0.6729 MB / 367.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.1166, allocations: 7.438 kB / 367.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of SimCode: time 1.834e-06/0.1166, allocations: 0 / 367.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of Templates: time 0.002775/0.1194, allocations: 1.016 MB / 368.9 MB, free: 2.848 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (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 & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches