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.001827/0.001827, allocations: 85.39 kB / 21.44 MB, free: 296 kB / 14.72 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.002611/0.002611, allocations: 163.9 kB / 24.7 MB, free: 3.551 MB / 14.72 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 1.362/1.362, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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.513e-06/1.513e-06, allocations: 0 / 298.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.752e-05, allocations: 2.281 kB / 298.9 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003371/0.003398, allocations: 2.132 MB / 301.1 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.004653, allocations: 0.7223 MB / 301.8 MB, free: 5.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.004689, allocations: 4 kB / 301.8 MB, free: 5.867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.755e-05/0.004766, allocations: 15.81 kB / 301.8 MB, free: 5.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.004867, allocations: 4 kB / 301.8 MB, free: 5.848 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.005502, allocations: 215.3 kB / 302 MB, free: 5.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.845e-05/0.00557, allocations: 19.94 kB / 302 MB, free: 5.617 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.005607, allocations: 7.984 kB / 302 MB, free: 5.609 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.00566, allocations: 11.92 kB / 302.1 MB, free: 5.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.00573, allocations: 15.98 kB / 302.1 MB, free: 5.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.005745, allocations: 0 / 302.1 MB, free: 5.582 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.006056, allocations: 167.8 kB / 302.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.006072, allocations: 7.922 kB / 302.2 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.006093, allocations: 8 kB / 302.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.006378, allocations: 159.6 kB / 302.4 MB, free: 5.246 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.00638, allocations: 0 / 302.4 MB, free: 5.246 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.006381, allocations: 0 / 302.4 MB, free: 5.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.006385, allocations: 4 kB / 302.4 MB, free: 5.242 MB / 286.1 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.0003743/0.006759, allocations: 285.9 kB / 302.7 MB, free: 4.934 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.006809, allocations: 15.98 kB / 302.7 MB, free: 4.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.006848, allocations: 4.891 kB / 302.7 MB, free: 4.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.006979, allocations: 113.7 kB / 302.8 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.006991, allocations: 384 / 302.8 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.006998, allocations: 384 / 302.8 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.007113, allocations: 59.97 kB / 302.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.007121, allocations: 192 / 302.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.007131, allocations: 384 / 302.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.007136, allocations: 7.938 kB / 302.9 MB, free: 4.699 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.007162, allocations: 15.92 kB / 302.9 MB, free: 4.684 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.007497, allocations: 339.7 kB / 303.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.007599, allocations: 169.1 kB / 303.4 MB, free: 4.145 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.007641, allocations: 84.14 kB / 303.5 MB, free: 4.059 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.007675, allocations: 75.28 kB / 303.6 MB, free: 3.984 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/0.007736, allocations: 113.7 kB / 303.7 MB, free: 3.863 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.007737, allocations: 0 / 303.7 MB, free: 3.863 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 8.318e-05/0.007821, allocations: 33.66 kB / 303.7 MB, free: 3.824 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/0.007913, allocations: 156.4 kB / 303.9 MB, free: 3.652 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.008039, allocations: 118.1 kB / 304 MB, free: 3.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.008057, allocations: 29.7 kB / 304 MB, free: 3.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.008119, allocations: 84.14 kB / 304.1 MB, free: 3.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.008121, allocations: 0 / 304.1 MB, free: 3.406 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.008163, allocations: 21.7 kB / 304.1 MB, free: 3.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.008312, allocations: 314.8 kB / 304.4 MB, free: 3.062 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.008326, allocations: 4 kB / 304.4 MB, free: 3.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.008358, allocations: 29.7 kB / 304.4 MB, free: 3.023 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.008389, allocations: 12.8 kB / 304.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.00839, allocations: 0 / 304.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001143/0.008504, allocations: 49.73 kB / 304.5 MB, free: 2.953 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.008524, allocations: 14.44 kB / 304.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.00853, allocations: 4 kB / 304.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.008544, allocations: 0 / 304.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.52e-05/0.008589, allocations: 0 / 304.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.008595, allocations: 8 kB / 304.5 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/0.008636, allocations: 4 kB / 304.5 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.008653, allocations: 3.984 kB / 304.5 MB, free: 2.922 MB / 286.1 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 0.0001164/0.008769, allocations: 185.1 kB / 304.7 MB, free: 2.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.008847, allocations: 108.9 kB / 304.8 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/0.008908, allocations: 116.5 kB / 304.9 MB, free: 2.5 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.309e-05/0.008991, allocations: 180.2 kB / 305.1 MB, free: 2.316 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-05/0.009071, allocations: 180.2 kB / 305.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.25e-05/0.009153, allocations: 184.2 kB / 305.5 MB, free: 1.945 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.009408, allocations: 360.8 kB / 305.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-05/0.009452, allocations: 101 kB / 305.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.009504, allocations: 108.9 kB / 306 MB, free: 1.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.707e-05/0.009582, allocations: 176.3 kB / 306.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.891e-05/0.00967, allocations: 184.2 kB / 306.4 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-05/0.009754, allocations: 188.2 kB / 306.6 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.078e-05/0.009835, allocations: 176.3 kB / 306.7 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.01001, allocations: 303.8 kB / 307 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.01008, allocations: 116.9 kB / 307.1 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.01019, allocations: 184.4 kB / 307.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.01031, allocations: 108.9 kB / 307.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.0104, allocations: 180.2 kB / 307.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.01045, allocations: 101 kB / 307.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.657e-05/0.01053, allocations: 99.27 kB / 307.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01053, allocations: 0 / 307.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.01083, allocations: 39.88 kB / 307.8 MB, free: 15.43 MB / 302.1 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.0005718/0.0114, allocations: 273.5 kB / 308.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.998e-05/0.01148, allocations: 7.938 kB / 308.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.01148, allocations: 0 / 308.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.01149, allocations: 8.062 kB / 308.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.01192, allocations: 459.6 kB / 308.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.01219, allocations: 176.3 kB / 308.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.826e-05/0.01225, allocations: 67.14 kB / 308.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.01228, allocations: 11.94 kB / 308.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.0123, allocations: 8.5 kB / 308.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.0123, allocations: 0 / 308.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Templates: time 0.004196/0.01649, allocations: 1.143 MB / 310 MB, free: 13.24 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.327984947711229]