Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.189e-05, allocations: 0 / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 47.57 MB / 369.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5124, allocations: 76.46 MB / 445.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.5127, allocations: 66.84 kB / 445.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02618/0.5389, allocations: 5.241 MB / 450.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.539, allocations: 0 / 450.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.539, allocations: 0 / 450.8 MB, free: 12.21 MB / 330.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.0004112/0.5394, allocations: 354.3 kB / 451.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.5395, allocations: 11.97 kB / 451.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.5395, allocations: 4.625 kB / 451.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.5397, allocations: 170.9 kB / 451.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.5397, allocations: 11.92 kB / 451.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.5397, allocations: 3.953 kB / 451.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.5399, allocations: 37.45 kB / 451.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5399, allocations: 3.938 kB / 451.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.5399, allocations: 0 / 451.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5399, allocations: 3.984 kB / 451.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.169e-05/0.54, allocations: 4 kB / 451.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.5404, allocations: 399.6 kB / 451.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.712e-05/0.5405, allocations: 173.1 kB / 452 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.5406, allocations: 80.14 kB / 452.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.5406, allocations: 75.28 kB / 452.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.5407, allocations: 105.8 kB / 452.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.973e-06/0.5407, allocations: 4 kB / 452.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.48e-05/0.5408, allocations: 33.45 kB / 452.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.5409, allocations: 156.4 kB / 452.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.541, allocations: 108.4 kB / 452.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.541, allocations: 29.7 kB / 452.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.227e-05/0.5411, allocations: 154.5 kB / 452.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.5411, allocations: 0 / 452.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.5412, allocations: 0 / 452.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5413, allocations: 310.8 kB / 453 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.5413, allocations: 4.469 kB / 453 MB, free: 9.832 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.5413, allocations: 11.94 kB / 453 MB, free: 9.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.217e-05/0.5414, allocations: 0 / 453 MB, free: 9.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5414, allocations: 0 / 453 MB, free: 9.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001234/0.5415, allocations: 45.58 kB / 453.1 MB, free: 9.773 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5416, allocations: 4 kB / 453.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5416, allocations: 0 / 453.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5416, allocations: 4 kB / 453.1 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.5417, allocations: 0 / 453.1 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.5417, allocations: 0 / 453.1 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.5417, allocations: 12 kB / 453.1 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.5418, allocations: 8.766 kB / 453.1 MB, free: 9.75 MB / 330.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 () * 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 9.973e-05/0.5419, allocations: 176.3 kB / 453.3 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.542, allocations: 108.9 kB / 453.4 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.494e-05/0.5421, allocations: 116.4 kB / 453.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.799e-05/0.5421, allocations: 176.3 kB / 453.7 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.257e-05/0.5422, allocations: 192.1 kB / 453.9 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.249e-05/0.5423, allocations: 183 kB / 454 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.5426, allocations: 408.9 kB / 454.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-05/0.5426, allocations: 104.9 kB / 454.5 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.5427, allocations: 101 kB / 454.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.356e-05/0.5428, allocations: 188.2 kB / 454.8 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/0.5428, allocations: 188.2 kB / 455 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.306e-05/0.5429, allocations: 176.3 kB / 455.2 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.884e-05/0.543, allocations: 184.1 kB / 455.4 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.5432, allocations: 299.8 kB / 455.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5433, allocations: 197.9 kB / 455.9 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.5434, allocations: 180.2 kB / 456 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.5435, allocations: 108.9 kB / 456.1 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.5436, allocations: 184.2 kB / 456.3 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.5437, allocations: 104.9 kB / 456.4 MB, free: 6.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.704e-05/0.5438, allocations: 95.22 kB / 456.5 MB, free: 6.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5438, allocations: 0 / 456.5 MB, free: 6.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.5442, allocations: 51.92 kB / 456.6 MB, free: 6.102 MB / 330.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 () * 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.0006648/0.5449, allocations: 272.6 kB / 456.8 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.545, allocations: 3.5 kB / 456.8 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.545, allocations: 0 / 456.8 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.545, allocations: 4 kB / 456.8 MB, free: 5.828 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.5454, allocations: 0.5223 MB / 457.4 MB, free: 5.305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.5456, allocations: 162.7 kB / 457.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5459, allocations: 0.677 MB / 458.2 MB, free: 4.414 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.5459, allocations: 11.44 kB / 458.2 MB, free: 4.402 MB / 330.7 MB Notification: Performance of SimCode: time 3.006e-06/0.546, allocations: 0 / 458.2 MB, free: 4.402 MB / 330.7 MB Notification: Performance of Templates: time 0.003979/0.5499, allocations: 1.176 MB / 459.4 MB, free: 3.223 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches