Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 115.8 kB / 19.18 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002031/0.002031, allocations: 212.9 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 230.4 MB / 255.4 MB, free: 9.066 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 75.8 kB / 374.7 MB, free: 4.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2382, allocations: 53.3 MB / 428 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0017/0.2399, allocations: 0.504 MB / 428.5 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2419, allocations: 1.442 MB / 430 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.2419, allocations: 0 / 430 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.2419, allocations: 0 / 430 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.878e-05/0.242, allocations: 11.94 kB / 430 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.2426, allocations: 178.8 kB / 430.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.609e-05/0.2427, allocations: 19.92 kB / 430.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.2427, allocations: 4 kB / 430.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.2428, allocations: 7.938 kB / 430.2 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.2428, allocations: 7.984 kB / 430.2 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2428, allocations: 7.984 kB / 430.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.2431, allocations: 171.8 kB / 430.4 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.2432, allocations: 7.984 kB / 430.4 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.2432, allocations: 3.938 kB / 430.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.2434, allocations: 121 kB / 430.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2434, allocations: 0 / 430.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2434, allocations: 0 / 430.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2434, allocations: 0 / 430.5 MB, free: 5.648 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.0004202/0.2438, allocations: 355.2 kB / 430.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2439, allocations: 8.031 kB / 430.9 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.244, allocations: 12.94 kB / 430.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2442, allocations: 168.4 kB / 431 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2442, allocations: 4.312 kB / 431 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.2442, allocations: 4.125 kB / 431 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.2443, allocations: 37.64 kB / 431.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2443, allocations: 3.984 kB / 431.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.2443, allocations: 0 / 431.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.2443, allocations: 0 / 431.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.2444, allocations: 4 kB / 431.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.2448, allocations: 481 kB / 431.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.74e-05/0.2449, allocations: 169.1 kB / 431.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.245, allocations: 84.14 kB / 431.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.245, allocations: 75.28 kB / 431.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/0.2451, allocations: 113.8 kB / 432 MB, free: 3.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2451, allocations: 0 / 432 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.677e-05/0.2452, allocations: 29.7 kB / 432 MB, free: 3.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.011e-05/0.2453, allocations: 152.4 kB / 432.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2454, allocations: 109.8 kB / 432.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2454, allocations: 29.7 kB / 432.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.2455, allocations: 88.06 kB / 432.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2455, allocations: 4 kB / 432.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.2455, allocations: 13.75 kB / 432.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2456, allocations: 322.8 kB / 432.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.2457, allocations: 4 kB / 432.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.2457, allocations: 7.984 kB / 432.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/0.2457, allocations: 4.859 kB / 432.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2457, allocations: 0 / 432.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001214/0.2458, allocations: 41.75 kB / 432.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2458, allocations: 4 kB / 432.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2458, allocations: 4 kB / 432.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2459, allocations: 0 / 432.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.2459, allocations: 3.938 kB / 432.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2459, allocations: 0 / 432.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.2459, allocations: 8 kB / 432.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.246, allocations: 3.984 kB / 432.8 MB, free: 3.094 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.0001135/0.2461, allocations: 185.1 kB / 433 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.2461, allocations: 109 kB / 433.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.2462, allocations: 104.5 kB / 433.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-05/0.2463, allocations: 184.2 kB / 433.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.379e-05/0.2464, allocations: 184.3 kB / 433.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.13e-05/0.2465, allocations: 180.2 kB / 433.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.2467, allocations: 413.4 kB / 434.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.917e-05/0.2468, allocations: 101 kB / 434.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.2468, allocations: 108.9 kB / 434.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.575e-05/0.2469, allocations: 184.2 kB / 434.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.709e-05/0.247, allocations: 184.2 kB / 434.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.484e-05/0.2471, allocations: 176.5 kB / 434.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.712e-05/0.2472, allocations: 184.2 kB / 435.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.2473, allocations: 307.8 kB / 435.4 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/0.2474, allocations: 194 kB / 435.5 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.2476, allocations: 180.3 kB / 435.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.2477, allocations: 112.9 kB / 435.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.2478, allocations: 180.3 kB / 436 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.2478, allocations: 105 kB / 436.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.075e-05/0.2479, allocations: 83.28 kB / 436.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2479, allocations: 4 kB / 436.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.2482, allocations: 35.88 kB / 436.2 MB, free: 15.44 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.0004789/0.2487, allocations: 276.7 kB / 436.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.144e-05/0.2488, allocations: 4 kB / 436.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2488, allocations: 0 / 436.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.2488, allocations: 0 / 436.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.2492, allocations: 466.7 kB / 437 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.2494, allocations: 178 kB / 437.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.2497, allocations: 0.6768 MB / 437.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.2497, allocations: 7.438 kB / 437.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2497, allocations: 0 / 437.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Templates: time 0.00281/0.2525, allocations: 1.019 MB / 438.8 MB, free: 12.78 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.429508079076186]