Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009242, allocations: 94.61 kB / 16.94 MB, free: 5.98 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.0009265/0.0009267, allocations: 178.9 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 9 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09499, allocations: 47.59 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002605/0.09764, allocations: 1.829 MB / 330.2 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.09887, allocations: 0.6919 MB / 330.8 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.09893, allocations: 0 / 330.8 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.554e-05/0.09903, allocations: 4 kB / 330.8 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.09917, allocations: 4 kB / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.09978, allocations: 175.5 kB / 331 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.09985, allocations: 8 kB / 331 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.0999, allocations: 0 / 331 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.09995, allocations: 23.91 kB / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.1, allocations: 4 kB / 331.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.1, allocations: 4 kB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.1003, allocations: 123.8 kB / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.1003, allocations: 3.984 kB / 331.2 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.1003, allocations: 25.7 kB / 331.2 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1005, allocations: 75.88 kB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.1005, allocations: 0 / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1005, allocations: 4 kB / 331.3 MB, free: 1.094 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.1005, allocations: 0 / 331.3 MB, free: 1.094 MB / 270.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.0003368/0.1009, allocations: 343.6 kB / 331.6 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1009, allocations: 8.031 kB / 331.6 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.101, allocations: 11.94 kB / 331.6 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.1012, allocations: 167 kB / 331.8 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1012, allocations: 3.953 kB / 331.8 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.1012, allocations: 0 / 331.8 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.028e-05/0.1013, allocations: 37.7 kB / 331.9 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1013, allocations: 3.984 kB / 331.9 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1013, allocations: 0 / 331.9 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1013, allocations: 0 / 331.9 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.863e-05/0.1013, allocations: 4 kB / 331.9 MB, free: 444 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.1017, allocations: 407.9 kB / 332.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.094e-05/0.1018, allocations: 177.1 kB / 332.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1018, allocations: 75.28 kB / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.1019, allocations: 109.8 kB / 332.6 MB, free: 15.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1019, allocations: 0 / 332.6 MB, free: 15.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 8.869e-05/0.102, allocations: 29.7 kB / 332.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.1021, allocations: 156.3 kB / 332.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1022, allocations: 117.8 kB / 332.9 MB, free: 15.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1022, allocations: 25.7 kB / 332.9 MB, free: 15.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.1023, allocations: 92.12 kB / 333 MB, free: 15.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.1023, allocations: 0 / 333 MB, free: 15.15 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.1023, allocations: 0 / 333 MB, free: 15.15 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1024, allocations: 326.7 kB / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.1024, allocations: 4 kB / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.1024, allocations: 0 / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.875e-05/0.1025, allocations: 4 kB / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1025, allocations: 0 / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001146/0.1026, allocations: 45.59 kB / 333.4 MB, free: 14.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1026, allocations: 4 kB / 333.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1026, allocations: 0 / 333.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1026, allocations: 4.125 kB / 333.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.68e-05/0.1027, allocations: 7.938 kB / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1027, allocations: 0 / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.1027, allocations: 0 / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.1028, allocations: 7.984 kB / 333.4 MB, free: 14.74 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.0001048/0.1029, allocations: 185.1 kB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.1029, allocations: 105 kB / 333.7 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.103, allocations: 116.2 kB / 333.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.111e-05/0.1031, allocations: 184.3 kB / 334 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.358e-05/0.1032, allocations: 180.2 kB / 334.2 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.396e-05/0.1032, allocations: 180.2 kB / 334.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.1035, allocations: 409.2 kB / 334.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.179e-05/0.1035, allocations: 104.9 kB / 334.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.1036, allocations: 105 kB / 335 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.835e-05/0.1037, allocations: 184.2 kB / 335.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.1037, allocations: 184.2 kB / 335.3 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.891e-05/0.1038, allocations: 180.3 kB / 335.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.27e-05/0.1039, allocations: 180.2 kB / 335.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.1041, allocations: 315.8 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1042, allocations: 189.9 kB / 336.2 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/0.1043, allocations: 176.3 kB / 336.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1044, allocations: 108.9 kB / 336.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.1045, allocations: 180.2 kB / 336.6 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.1045, allocations: 108.9 kB / 336.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.805e-05/0.1046, allocations: 95.27 kB / 336.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.1046, allocations: 4 kB / 336.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.1049, allocations: 43.94 kB / 336.9 MB, free: 11.08 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.0005096/0.1054, allocations: 263.4 kB / 337.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.1055, allocations: 4 kB / 337.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1055, allocations: 0 / 337.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.013e-06/0.1055, allocations: 336 / 337.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1059, allocations: 0.5263 MB / 337.6 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.1061, allocations: 174 kB / 337.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.1063, allocations: 0.677 MB / 338.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.183e-05/0.1064, allocations: 4 kB / 338.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.1064, allocations: 11.44 kB / 338.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1064, allocations: 4 kB / 338.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of Templates: time 0.00356/0.11, allocations: 1.057 MB / 339.6 MB, free: 8.309 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches