Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001457, allocations: 179 kB / 17.36 MB, free: 4.191 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000798/0.0007979, allocations: 98.98 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002745, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.223, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002576/0.2257, allocations: 1.904 MB / 378.5 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2271, allocations: 0.9195 MB / 379.4 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.2272, allocations: 1.156 kB / 379.4 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2273, allocations: 3.281 kB / 379.4 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.2275, allocations: 2.844 kB / 379.4 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.2281, allocations: 172.7 kB / 379.6 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.2282, allocations: 25.02 kB / 379.6 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.2282, allocations: 1.125 kB / 379.6 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.851e-05/0.2283, allocations: 13.55 kB / 379.6 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.2284, allocations: 13.52 kB / 379.7 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.2284, allocations: 1.188 kB / 379.7 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.2286, allocations: 129.6 kB / 379.8 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.2287, allocations: 4.75 kB / 379.8 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.2287, allocations: 36.09 kB / 379.8 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.2289, allocations: 125 kB / 379.9 MB, free: 42.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.229, allocations: 9 kB / 379.9 MB, free: 42.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.229, allocations: 0 / 379.9 MB, free: 42.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.229, allocations: 4 kB / 380 MB, free: 42.95 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.0003172/0.2293, allocations: 345.4 kB / 380.3 MB, free: 42.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.2294, allocations: 9.719 kB / 380.3 MB, free: 42.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.2294, allocations: 3.156 kB / 380.3 MB, free: 42.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2295, allocations: 170.3 kB / 380.5 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2295, allocations: 384 / 380.5 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.2296, allocations: 1.5 kB / 380.5 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.829e-05/0.2296, allocations: 38.08 kB / 380.5 MB, free: 42.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2297, allocations: 5.125 kB / 380.5 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2297, allocations: 0 / 380.5 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.2297, allocations: 3.938 kB / 380.5 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.2297, allocations: 7.359 kB / 380.5 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.23, allocations: 394.8 kB / 380.9 MB, free: 41.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.2301, allocations: 167.1 kB / 381.1 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.2301, allocations: 84.14 kB / 381.2 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2301, allocations: 79.27 kB / 381.2 MB, free: 41.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2302, allocations: 111.2 kB / 381.3 MB, free: 41.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2302, allocations: 0 / 381.3 MB, free: 41.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.835e-05/0.2302, allocations: 31.92 kB / 381.4 MB, free: 41.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.2303, allocations: 153.2 kB / 381.5 MB, free: 41.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.741e-05/0.2304, allocations: 120 kB / 381.6 MB, free: 41.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.2304, allocations: 25.7 kB / 381.7 MB, free: 41.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.2304, allocations: 89.2 kB / 381.8 MB, free: 41.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.2305, allocations: 0.9375 kB / 381.8 MB, free: 41.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.2305, allocations: 0 / 381.8 MB, free: 41.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.2305, allocations: 319.8 kB / 382.1 MB, free: 40.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.2305, allocations: 2.188 kB / 382.1 MB, free: 40.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.2306, allocations: 7.219 kB / 382.1 MB, free: 40.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.2306, allocations: 19.17 kB / 382.1 MB, free: 40.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2306, allocations: 1.188 kB / 382.1 MB, free: 40.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001019/0.2307, allocations: 41.91 kB / 382.1 MB, free: 40.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2307, allocations: 4.781 kB / 382.1 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2307, allocations: 0 / 382.1 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2308, allocations: 1.344 kB / 382.1 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.2308, allocations: 1.281 kB / 382.1 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.2308, allocations: 0 / 382.1 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.2309, allocations: 0.9375 kB / 382.1 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.2309, allocations: 6.219 kB / 382.1 MB, free: 40.62 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 6.512e-05/0.231, allocations: 191.6 kB / 382.3 MB, free: 40.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.231, allocations: 110.5 kB / 382.4 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.231, allocations: 113.2 kB / 382.6 MB, free: 40.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/0.2311, allocations: 181.6 kB / 382.7 MB, free: 40.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/0.2311, allocations: 181.6 kB / 382.9 MB, free: 39.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.2312, allocations: 180.9 kB / 383.1 MB, free: 39.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.2313, allocations: 414.5 kB / 383.5 MB, free: 39.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.2313, allocations: 105 kB / 383.6 MB, free: 39.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.2313, allocations: 108.9 kB / 383.7 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.306e-05/0.2314, allocations: 178.1 kB / 383.9 MB, free: 38.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.2314, allocations: 186.2 kB / 384.1 MB, free: 38.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.161e-05/0.2314, allocations: 180.5 kB / 384.2 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.326e-05/0.2315, allocations: 177.7 kB / 384.4 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.275e-05/0.2315, allocations: 311.1 kB / 384.7 MB, free: 37.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.2316, allocations: 192.5 kB / 384.9 MB, free: 37.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.2316, allocations: 181.6 kB / 385.1 MB, free: 37.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.2317, allocations: 102.3 kB / 385.2 MB, free: 37.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.2317, allocations: 192.2 kB / 385.4 MB, free: 37.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2318, allocations: 102.2 kB / 385.5 MB, free: 37.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.681e-05/0.2318, allocations: 92.48 kB / 385.6 MB, free: 37.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2318, allocations: 0 / 385.6 MB, free: 37.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002873/0.2321, allocations: 49.17 kB / 385.6 MB, free: 37.02 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.0004517/0.2326, allocations: 275 kB / 385.9 MB, free: 36.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.032e-05/0.2326, allocations: 11.98 kB / 385.9 MB, free: 36.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2327, allocations: 3.938 kB / 385.9 MB, free: 36.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-06/0.2327, allocations: 1.25 kB / 385.9 MB, free: 36.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.2329, allocations: 0.5237 MB / 386.4 MB, free: 36.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.2331, allocations: 168.6 kB / 386.6 MB, free: 36.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.2332, allocations: 0.6765 MB / 387.2 MB, free: 35.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.051e-05/0.2333, allocations: 9.172 kB / 387.3 MB, free: 35.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.2333, allocations: 8.719 kB / 387.3 MB, free: 35.39 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2333, allocations: 3.938 kB / 387.3 MB, free: 35.38 MB / 298.7 MB Notification: Performance of Templates: time 0.003105/0.2364, allocations: 1.076 MB / 388.3 MB, free: 34.82 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (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) 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