Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00183/0.00183, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.002233/0.002233, allocations: 208.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 51.91 kB / 378.2 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.235, allocations: 53.37 MB / 431.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001743/0.2367, allocations: 0.4927 MB / 432.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.2388, allocations: 1.408 MB / 433.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.2388, allocations: 0 / 433.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.2389, allocations: 0 / 433.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.824e-05/0.2389, allocations: 3.938 kB / 433.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.2396, allocations: 185.9 kB / 433.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.334e-05/0.2397, allocations: 19.97 kB / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.2397, allocations: 0 / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.194e-05/0.2397, allocations: 11.94 kB / 433.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.2398, allocations: 7.984 kB / 433.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.2398, allocations: 0 / 433.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.2401, allocations: 159.8 kB / 433.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.2402, allocations: 11.97 kB / 433.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.2402, allocations: 3.938 kB / 433.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.2404, allocations: 121 kB / 434 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2404, allocations: 4 kB / 434 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2404, allocations: 0 / 434 MB, free: 4.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2404, allocations: 0 / 434 MB, free: 4.34 MB / 334.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.0004325/0.2409, allocations: 282.1 kB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2409, allocations: 12.03 kB / 434.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.241, allocations: 0.9375 kB / 434.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.2412, allocations: 110.5 kB / 434.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2412, allocations: 4.375 kB / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.2412, allocations: 4.125 kB / 434.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.2413, allocations: 59.39 kB / 434.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2413, allocations: 8 kB / 434.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.2413, allocations: 0 / 434.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2413, allocations: 0 / 434.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.92e-05/0.2413, allocations: 3.938 kB / 434.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.2418, allocations: 347.6 kB / 434.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.2419, allocations: 173.1 kB / 435 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.242, allocations: 80.14 kB / 435.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.242, allocations: 79.28 kB / 435.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.023e-05/0.2421, allocations: 109.8 kB / 435.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.2421, allocations: 0 / 435.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.653e-05/0.2422, allocations: 29.66 kB / 435.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.2423, allocations: 164.3 kB / 435.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2424, allocations: 109.8 kB / 435.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.2425, allocations: 25.7 kB / 435.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.2425, allocations: 88.08 kB / 435.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-06/0.2425, allocations: 0 / 435.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.2426, allocations: 17.72 kB / 435.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2427, allocations: 318.8 kB / 436 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.2427, allocations: 4 kB / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.2428, allocations: 25.7 kB / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.2428, allocations: 8.953 kB / 436 MB, free: 2.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2428, allocations: 4 kB / 436 MB, free: 2.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001108/0.2429, allocations: 45.59 kB / 436.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2429, allocations: 7.984 kB / 436.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2429, allocations: 0 / 436.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2429, allocations: 4 kB / 436.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.513e-05/0.243, allocations: 0 / 436.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.243, allocations: 0 / 436.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.243, allocations: 0 / 436.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.243, allocations: 4.25 kB / 436.1 MB, free: 2.059 MB / 334.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.0001709/0.2432, allocations: 189.1 kB / 436.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.2433, allocations: 105 kB / 436.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.12e-05/0.2434, allocations: 112.4 kB / 436.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.354e-05/0.2434, allocations: 188.3 kB / 436.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001433/0.2436, allocations: 176.3 kB / 436.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001022/0.2437, allocations: 180.2 kB / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.2439, allocations: 364.8 kB / 437.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.745e-05/0.244, allocations: 104.9 kB / 437.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.244, allocations: 101 kB / 437.6 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.789e-05/0.2441, allocations: 176.3 kB / 437.7 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.465e-05/0.2442, allocations: 192.2 kB / 437.9 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001014/0.2443, allocations: 180.5 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-05/0.2444, allocations: 188.2 kB / 438.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.2446, allocations: 311.7 kB / 438.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.2446, allocations: 105 kB / 438.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.2447, allocations: 188.2 kB / 438.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.2449, allocations: 104.9 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.2449, allocations: 180.3 kB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.245, allocations: 104.9 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.224e-05/0.2451, allocations: 91.27 kB / 439.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2451, allocations: 3.938 kB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.2454, allocations: 39.88 kB / 439.4 MB, free: 14.55 MB / 350.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.0004057/0.2458, allocations: 252.1 kB / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.512e-05/0.2458, allocations: 4 kB / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2458, allocations: 0 / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.2458, allocations: 0 / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.2463, allocations: 463.6 kB / 440.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.2466, allocations: 160.3 kB / 440.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.014e-05/0.2466, allocations: 63.41 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.715e-05/0.2467, allocations: 11.98 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.2467, allocations: 7.438 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2467, allocations: 0 / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Templates: time 0.003776/0.2505, allocations: 0.9784 MB / 441.3 MB, free: 12.59 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.308163868263364]