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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009503/0.0009503, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 168.4 kB / 25.7 MB, free: 8.402 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.994/0.994, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.952e-05, allocations: 2.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002698/0.002717, allocations: 2.32 MB / 253.9 MB, free: 4.895 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.003791, allocations: 0.765 MB / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.003818, allocations: 0 / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.546e-05/0.003884, allocations: 7.938 kB / 254.7 MB, free: 4.113 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.179e-05/0.003976, allocations: 4 kB / 254.7 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.004379, allocations: 195.4 kB / 254.8 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.004448, allocations: 15.92 kB / 254.9 MB, free: 3.902 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.004484, allocations: 4 kB / 254.9 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.004529, allocations: 8 kB / 254.9 MB, free: 3.891 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.004588, allocations: 11.92 kB / 254.9 MB, free: 3.879 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.004601, allocations: 7.984 kB / 254.9 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.004864, allocations: 195.6 kB / 255.1 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.679e-06/0.004874, allocations: 4 kB / 255.1 MB, free: 3.676 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.303e-05/0.004887, allocations: 3.938 kB / 255.1 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.005082, allocations: 159.6 kB / 255.2 MB, free: 3.516 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.005083, allocations: 4 kB / 255.3 MB, free: 3.512 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005084, allocations: 4 kB / 255.3 MB, free: 3.508 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005088, allocations: 0 / 255.3 MB, free: 3.508 MB / 234.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.0002327/0.005321, allocations: 248.8 kB / 255.5 MB, free: 3.238 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.005352, allocations: 11.98 kB / 255.5 MB, free: 3.227 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.005378, allocations: 8.922 kB / 255.5 MB, free: 3.219 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.848e-05/0.005466, allocations: 117.7 kB / 255.6 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.005476, allocations: 384 / 255.6 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-06/0.005482, allocations: 4.312 kB / 255.6 MB, free: 3.074 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.779e-05/0.005549, allocations: 58.8 kB / 255.7 MB, free: 3.004 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005557, allocations: 8.125 kB / 255.7 MB, free: 2.996 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.005563, allocations: 384 / 255.7 MB, free: 2.996 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.005568, allocations: 3.938 kB / 255.7 MB, free: 2.992 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.147e-06/0.005578, allocations: 7.984 kB / 255.7 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.005778, allocations: 297 kB / 256 MB, free: 2.676 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.575e-05/0.005834, allocations: 165.1 kB / 256.2 MB, free: 2.504 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.005853, allocations: 84.17 kB / 256.3 MB, free: 2.418 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.005869, allocations: 79.22 kB / 256.3 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.005904, allocations: 109.8 kB / 256.4 MB, free: 2.223 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.005905, allocations: 0 / 256.4 MB, free: 2.223 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 5.051e-05/0.005955, allocations: 37.67 kB / 256.5 MB, free: 2.18 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.006001, allocations: 156.4 kB / 256.6 MB, free: 2.008 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.006081, allocations: 124.3 kB / 256.7 MB, free: 1.871 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.006091, allocations: 25.7 kB / 256.8 MB, free: 1.84 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.006128, allocations: 88.12 kB / 256.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.00613, allocations: 0 / 256.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.006154, allocations: 17.7 kB / 256.9 MB, free: 1.727 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003302/0.006485, allocations: 310.8 kB / 257.2 MB, free: 1.414 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.006493, allocations: 6.828 kB / 257.2 MB, free: 1.406 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.006512, allocations: 29.64 kB / 257.2 MB, free: 1.371 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.006535, allocations: 19.77 kB / 257.2 MB, free: 1.348 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006537, allocations: 0 / 257.2 MB, free: 1.348 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.791e-05/0.006595, allocations: 29.7 kB / 257.3 MB, free: 1.312 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.006605, allocations: 4 kB / 257.3 MB, free: 1.309 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006608, allocations: 4 kB / 257.3 MB, free: 1.305 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.006621, allocations: 3.938 kB / 257.3 MB, free: 1.301 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.602e-05/0.006657, allocations: 0 / 257.3 MB, free: 1.301 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.00666, allocations: 0 / 257.3 MB, free: 1.301 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.006689, allocations: 7.953 kB / 257.3 MB, free: 1.293 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.006702, allocations: 3.984 kB / 257.3 MB, free: 1.289 MB / 234.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.994e-05/0.006762, allocations: 193.1 kB / 257.5 MB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.006798, allocations: 105 kB / 257.6 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.006831, allocations: 104.5 kB / 257.7 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.073e-05/0.006871, allocations: 196.1 kB / 257.9 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.614e-05/0.006908, allocations: 180.2 kB / 258 MB, free: 500 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/0.006944, allocations: 184.2 kB / 258.2 MB, free: 308 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.00707, allocations: 317.4 kB / 258.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/0.007093, allocations: 109.1 kB / 258.6 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.007115, allocations: 104.9 kB / 258.7 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.572e-05/0.007151, allocations: 184.2 kB / 258.9 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.007187, allocations: 188.2 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.461e-05/0.007222, allocations: 176.3 kB / 259.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.655e-05/0.007259, allocations: 184.2 kB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.35e-05/0.007342, allocations: 307.7 kB / 259.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.00737, allocations: 108.9 kB / 259.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.007416, allocations: 188.2 kB / 260.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.145e-05/0.007467, allocations: 105 kB / 260.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.007509, allocations: 184.1 kB / 260.3 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.00753, allocations: 101 kB / 260.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.18e-05/0.007551, allocations: 19.98 kB / 260.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007551, allocations: 4 kB / 260.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.007726, allocations: 47.88 kB / 260.5 MB, free: 13.89 MB / 250.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.0003528/0.008079, allocations: 268.2 kB / 260.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.955e-05/0.008129, allocations: 16.8 kB / 260.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.008132, allocations: 0 / 260.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.008134, allocations: 0 / 260.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.008325, allocations: 455.7 kB / 261.2 MB, free: 13.17 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001475/0.008473, allocations: 183 kB / 261.4 MB, free: 12.97 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.684e-05/0.0085, allocations: 51.36 kB / 261.5 MB, free: 12.9 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.736e-05/0.008527, allocations: 15.86 kB / 261.5 MB, free: 12.88 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.008578, allocations: 63.34 kB / 261.5 MB, free: 12.82 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008578, allocations: 4.062 kB / 261.5 MB, free: 12.82 MB / 250.7 MB Notification: Performance of Templates: time 0.002733/0.01131, allocations: 1.306 MB / 262.8 MB, free: 11.52 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4694776739925146]