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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001095/0.001095, allocations: 113.2 kB / 17.06 MB, free: 5.809 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.001036/0.001036, allocations: 200 kB / 18 MB, free: 4.949 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.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009394/0.0009395, allocations: 43.92 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2478, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001483/0.2494, allocations: 0.5027 MB / 401.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.251, allocations: 1.384 MB / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.251, allocations: 0 / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.251, allocations: 3.938 kB / 402.6 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.846e-05/0.2511, allocations: 3.938 kB / 402.6 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.2517, allocations: 186.6 kB / 402.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.2517, allocations: 11.94 kB / 402.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.2518, allocations: 3.984 kB / 402.8 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.907e-05/0.2518, allocations: 8 kB / 402.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.2519, allocations: 15.92 kB / 402.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2519, allocations: 0 / 402.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.2521, allocations: 167.8 kB / 403 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.2522, allocations: 4 kB / 403 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.2522, allocations: 3.938 kB / 403 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2524, allocations: 115.8 kB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2524, allocations: 3.984 kB / 403.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2524, allocations: 4 kB / 403.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2524, allocations: 0 / 403.1 MB, free: 6.453 MB / 318.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.0003206/0.2527, allocations: 351.3 kB / 403.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.2528, allocations: 8.031 kB / 403.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.2528, allocations: 4.938 kB / 403.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.2529, allocations: 164.2 kB / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.2529, allocations: 384 / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.253, allocations: 4.125 kB / 403.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.253, allocations: 45.62 kB / 403.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.2531, allocations: 4 kB / 403.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2531, allocations: 0 / 403.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2531, allocations: 0 / 403.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.2531, allocations: 0 / 403.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.2535, allocations: 473 kB / 404.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.563e-05/0.2536, allocations: 177.1 kB / 404.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.2536, allocations: 80.14 kB / 404.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.2536, allocations: 79.28 kB / 404.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.2537, allocations: 109.8 kB / 404.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2537, allocations: 0 / 404.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.862e-05/0.2538, allocations: 29.61 kB / 404.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.2538, allocations: 156.4 kB / 404.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.2539, allocations: 113.8 kB / 404.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2539, allocations: 25.7 kB / 404.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.254, allocations: 88.14 kB / 405 MB, free: 4.359 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.254, allocations: 0 / 405 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.254, allocations: 17.7 kB / 405 MB, free: 4.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.2541, allocations: 318.8 kB / 405.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.2542, allocations: 0 / 405.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.2542, allocations: 15.92 kB / 405.3 MB, free: 4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.22e-05/0.2542, allocations: 12.8 kB / 405.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2542, allocations: 0 / 405.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.568e-05/0.2543, allocations: 33.7 kB / 405.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2543, allocations: 4 kB / 405.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2543, allocations: 0 / 405.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2544, allocations: 0 / 405.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.2544, allocations: 7.938 kB / 405.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2544, allocations: 0 / 405.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.2545, allocations: 4.125 kB / 405.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.2545, allocations: 7.984 kB / 405.4 MB, free: 3.922 MB / 318.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 8.371e-05/0.2546, allocations: 189.1 kB / 405.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.2546, allocations: 104.9 kB / 405.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.2547, allocations: 112.5 kB / 405.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.954e-05/0.2547, allocations: 180.3 kB / 406 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.577e-05/0.2548, allocations: 188.2 kB / 406.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.957e-05/0.2549, allocations: 184.2 kB / 406.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.2551, allocations: 401.2 kB / 406.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.584e-05/0.2551, allocations: 112.9 kB / 406.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.2551, allocations: 101 kB / 406.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.917e-05/0.2552, allocations: 176.3 kB / 407.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.2553, allocations: 184.2 kB / 407.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.595e-05/0.2553, allocations: 184.2 kB / 407.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-05/0.2554, allocations: 180.4 kB / 407.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.2555, allocations: 307.8 kB / 407.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.2555, allocations: 190 kB / 408.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.317e-05/0.2556, allocations: 184.5 kB / 408.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.2557, allocations: 104.9 kB / 408.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.2558, allocations: 184.3 kB / 408.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.2558, allocations: 105 kB / 408.7 MB, free: 404 kB / 318.1 MB Notification: Performance of sorting global known variables: time 4.439e-05/0.2559, allocations: 91.27 kB / 408.8 MB, free: 312 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.2559, allocations: 4 kB / 408.8 MB, free: 308 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.2561, allocations: 39.94 kB / 408.8 MB, free: 268 kB / 318.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.0003608/0.2565, allocations: 261.6 kB / 409.1 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.774e-05/0.2566, allocations: 4 kB / 409.1 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2566, allocations: 4.062 kB / 409.1 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.2566, allocations: 0 / 409.1 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.2569, allocations: 459.7 kB / 409.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001845/0.2571, allocations: 164.3 kB / 409.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2574, allocations: 0.6805 MB / 410.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.744e-05/0.2574, allocations: 15.97 kB / 410.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.581e-05/0.2575, allocations: 15.38 kB / 410.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2575, allocations: 0 / 410.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of Templates: time 0.002954/0.2604, allocations: 0.9031 MB / 411.3 MB, free: 13.73 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (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 & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches