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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 174.9 kB / 14.1 MB, free: 1.211 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.00112/0.00112, allocations: 86.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.856e-05, allocations: 8 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5264, allocations: 76.45 MB / 446.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.5267, allocations: 68.91 kB / 446.5 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.5421, allocations: 5.244 MB / 451.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5421, allocations: 0 / 451.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.5421, allocations: 0 / 451.8 MB, free: 12.39 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.0004203/0.5425, allocations: 354.3 kB / 452.1 MB, free: 12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.5426, allocations: 8.031 kB / 452.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.5427, allocations: 4.625 kB / 452.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.5429, allocations: 170.9 kB / 452.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.5429, allocations: 0 / 452.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.5429, allocations: 7.953 kB / 452.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.5431, allocations: 49.06 kB / 452.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5431, allocations: 0 / 452.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5431, allocations: 3.938 kB / 452.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5431, allocations: 0 / 452.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.5431, allocations: 4 kB / 452.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.5436, allocations: 395.9 kB / 452.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.5437, allocations: 177.1 kB / 452.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.5437, allocations: 80.14 kB / 453 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.5438, allocations: 75.28 kB / 453.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.46e-05/0.5439, allocations: 105.8 kB / 453.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.5439, allocations: 0 / 453.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.516e-05/0.544, allocations: 33.7 kB / 453.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.5441, allocations: 156.3 kB / 453.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.5442, allocations: 104.8 kB / 453.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.5442, allocations: 29.64 kB / 453.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.5443, allocations: 91.73 kB / 453.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.5443, allocations: 0 / 453.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.5443, allocations: 0 / 453.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5444, allocations: 314.8 kB / 453.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.5445, allocations: 8.469 kB / 453.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.5445, allocations: 7.984 kB / 453.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.035e-05/0.5445, allocations: 0 / 453.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5445, allocations: 0 / 453.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001232/0.5446, allocations: 41.03 kB / 454 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5447, allocations: 8 kB / 454 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5447, allocations: 0 / 454 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5447, allocations: 3.984 kB / 454 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.5448, allocations: 0 / 454 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.5448, allocations: 4.906 kB / 454 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.5448, allocations: 4 kB / 454 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.5448, allocations: 0 / 454 MB, free: 10 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 0.0001015/0.5449, allocations: 180.2 kB / 454.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.545, allocations: 108.9 kB / 454.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/0.5451, allocations: 120.3 kB / 454.4 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.146e-05/0.5452, allocations: 184.2 kB / 454.6 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.254e-05/0.5452, allocations: 180.3 kB / 454.7 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-05/0.5453, allocations: 184.1 kB / 454.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.5456, allocations: 404.8 kB / 455.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.904e-05/0.5456, allocations: 105 kB / 455.4 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.5456, allocations: 111.3 kB / 455.5 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.297e-05/0.5457, allocations: 188 kB / 455.7 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/0.5458, allocations: 180.2 kB / 455.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.047e-05/0.5459, allocations: 176.3 kB / 456 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.537e-05/0.5459, allocations: 180.3 kB / 456.2 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.5461, allocations: 319.5 kB / 456.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.016e-05/0.5462, allocations: 182 kB / 456.7 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.5463, allocations: 188.2 kB / 456.9 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.5464, allocations: 101 kB / 457 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.5465, allocations: 188 kB / 457.2 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.5465, allocations: 105 kB / 457.3 MB, free: 6.488 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.211e-05/0.5466, allocations: 103.5 kB / 457.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5466, allocations: 0 / 457.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.5469, allocations: 43.94 kB / 457.4 MB, free: 6.348 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.0005391/0.5475, allocations: 278.1 kB / 457.7 MB, free: 6.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.575e-05/0.5476, allocations: 7.984 kB / 457.7 MB, free: 6.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5476, allocations: 0 / 457.7 MB, free: 6.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.5476, allocations: 0 / 457.7 MB, free: 6.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.5479, allocations: 0.5189 MB / 458.2 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/0.5481, allocations: 129.1 kB / 458.4 MB, free: 5.402 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.5484, allocations: 0.6809 MB / 459 MB, free: 4.695 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.074e-05/0.5484, allocations: 11.88 kB / 459 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.5485, allocations: 15.38 kB / 459.1 MB, free: 4.668 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5485, allocations: 0 / 459.1 MB, free: 4.668 MB / 330.7 MB Notification: Performance of Templates: time 0.003822/0.5523, allocations: 1.059 MB / 460.1 MB, free: 3.621 MB / 330.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