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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 90.45 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 43.94 kB / 350 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2238, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00158/0.2254, allocations: 0.5612 MB / 400 MB, free: 32.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.2267, allocations: 1.404 MB / 401.4 MB, free: 31.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.486e-05/0.2267, allocations: 0 / 401.4 MB, free: 31.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.2268, allocations: 3.938 kB / 401.4 MB, free: 31.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.2268, allocations: 4 kB / 401.4 MB, free: 31.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.2273, allocations: 131.8 kB / 401.6 MB, free: 31.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.512e-05/0.2274, allocations: 19.98 kB / 401.6 MB, free: 31.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.2274, allocations: 4 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.2274, allocations: 7.938 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.2275, allocations: 19.91 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2275, allocations: 4 kB / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.2277, allocations: 111.9 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.2277, allocations: 11.98 kB / 401.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.2277, allocations: 7.875 kB / 401.8 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.2279, allocations: 115.8 kB / 401.9 MB, free: 30.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2279, allocations: 0 / 401.9 MB, free: 30.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.2279, allocations: 0 / 401.9 MB, free: 30.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.2279, allocations: 4 kB / 401.9 MB, free: 30.98 MB / 298.7 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.0002734/0.2282, allocations: 349.2 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2283, allocations: 8.031 kB / 402.2 MB, free: 30.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.2283, allocations: 4.938 kB / 402.2 MB, free: 30.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.356e-05/0.2284, allocations: 164.3 kB / 402.4 MB, free: 30.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.2284, allocations: 384 / 402.4 MB, free: 30.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.2284, allocations: 4.125 kB / 402.4 MB, free: 30.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.615e-05/0.2285, allocations: 33.69 kB / 402.4 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2285, allocations: 8 kB / 402.4 MB, free: 30.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2285, allocations: 0 / 402.4 MB, free: 30.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2285, allocations: 0 / 402.4 MB, free: 30.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.266e-05/0.2286, allocations: 3.938 kB / 402.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.2289, allocations: 478.6 kB / 402.9 MB, free: 29.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.229, allocations: 169.1 kB / 403.1 MB, free: 29.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.229, allocations: 84.14 kB / 403.1 MB, free: 29.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.229, allocations: 75.28 kB / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.229, allocations: 109.8 kB / 403.3 MB, free: 29.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.229, allocations: 0 / 403.3 MB, free: 29.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.924e-05/0.2291, allocations: 29.7 kB / 403.4 MB, free: 29.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2292, allocations: 160.4 kB / 403.5 MB, free: 29.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.541e-05/0.2292, allocations: 109.8 kB / 403.6 MB, free: 29.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.2293, allocations: 25.7 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.2293, allocations: 84.14 kB / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.2293, allocations: 0 / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.2293, allocations: 21.7 kB / 403.7 MB, free: 28.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.322e-05/0.2294, allocations: 318.8 kB / 404.1 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.2294, allocations: 3.938 kB / 404.1 MB, free: 28.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.2294, allocations: 4 kB / 404.1 MB, free: 28.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.116e-05/0.2295, allocations: 24.83 kB / 404.1 MB, free: 28.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2295, allocations: 0 / 404.1 MB, free: 28.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.235e-05/0.2296, allocations: 41.59 kB / 404.1 MB, free: 28.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.2296, allocations: 4 kB / 404.1 MB, free: 28.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2296, allocations: 256 / 404.1 MB, free: 28.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2296, allocations: 0 / 404.1 MB, free: 28.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.2296, allocations: 11.98 kB / 404.1 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.2297, allocations: 0 / 404.1 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.2297, allocations: 0 / 404.1 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2297, allocations: 4.031 kB / 404.2 MB, free: 28.44 MB / 298.7 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 5.072e-05/0.2298, allocations: 197 kB / 404.3 MB, free: 28.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.2298, allocations: 104.9 kB / 404.4 MB, free: 28.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.2299, allocations: 112.5 kB / 404.6 MB, free: 28.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.2299, allocations: 176.3 kB / 404.7 MB, free: 27.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/0.2299, allocations: 180.2 kB / 404.9 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.2299, allocations: 188.2 kB / 405.1 MB, free: 27.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.2301, allocations: 409.1 kB / 405.5 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.2301, allocations: 105 kB / 405.6 MB, free: 26.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.359e-05/0.2301, allocations: 101 kB / 405.7 MB, free: 26.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/0.2301, allocations: 180.2 kB / 405.9 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2302, allocations: 184.3 kB / 406 MB, free: 26.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.276e-05/0.2302, allocations: 188.2 kB / 406.2 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-05/0.2302, allocations: 176.3 kB / 406.4 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.2304, allocations: 0.8492 MB / 407.2 MB, free: 25.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.2304, allocations: 182 kB / 407.4 MB, free: 24.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.2305, allocations: 184.3 kB / 407.6 MB, free: 24.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.2305, allocations: 112.8 kB / 407.7 MB, free: 24.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.2306, allocations: 176.3 kB / 407.9 MB, free: 24.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.2306, allocations: 108.9 kB / 408 MB, free: 24.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.875e-05/0.2306, allocations: 87.28 kB / 408.1 MB, free: 24.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2306, allocations: 0 / 408.1 MB, free: 24.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.231, allocations: 43.98 kB / 408.1 MB, free: 24.2 MB / 298.7 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.0003246/0.2313, allocations: 259 kB / 408.4 MB, free: 23.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.24e-05/0.2314, allocations: 8 kB / 408.4 MB, free: 23.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.2314, allocations: 0 / 408.4 MB, free: 23.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.2314, allocations: 0 / 408.4 MB, free: 23.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2317, allocations: 0.5263 MB / 408.9 MB, free: 23.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001575/0.2319, allocations: 170 kB / 409.1 MB, free: 23.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.613e-05/0.232, allocations: 0.6692 MB / 409.7 MB, free: 22.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.2321, allocations: 11.98 kB / 409.8 MB, free: 22.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.04e-05/0.2321, allocations: 7.438 kB / 409.8 MB, free: 22.5 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2321, allocations: 0 / 409.8 MB, free: 22.5 MB / 298.7 MB Notification: Performance of Templates: time 0.002535/0.2347, allocations: 0.9134 MB / 410.7 MB, free: 21.6 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches