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.002194/0.002194, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002384/0.002384, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001568/0.001568, allocations: 47.91 kB / 378.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2439, allocations: 53.37 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001612/0.2455, allocations: 0.4966 MB / 432.1 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.2475, allocations: 1.404 MB / 433.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.2475, allocations: 0 / 433.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.2475, allocations: 3.938 kB / 433.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.213e-05/0.2475, allocations: 0 / 433.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.2482, allocations: 190.5 kB / 433.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.022e-05/0.2482, allocations: 15.97 kB / 433.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.2483, allocations: 0 / 433.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.2483, allocations: 11.98 kB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.2484, allocations: 11.94 kB / 433.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.2484, allocations: 0 / 433.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.2487, allocations: 171.8 kB / 433.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.2487, allocations: 3.984 kB / 433.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.2487, allocations: 7.938 kB / 433.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2489, allocations: 129 kB / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2489, allocations: 0 / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2489, allocations: 0 / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2489, allocations: 0 / 434 MB, free: 4.293 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.0003621/0.2493, allocations: 278 kB / 434.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2493, allocations: 8.031 kB / 434.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.2495, allocations: 12.92 kB / 434.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.2496, allocations: 110.5 kB / 434.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.2496, allocations: 384 / 434.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.2496, allocations: 4.125 kB / 434.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.2497, allocations: 59.41 kB / 434.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.2497, allocations: 0 / 434.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2497, allocations: 0 / 434.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2497, allocations: 4 kB / 434.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.2498, allocations: 3.984 kB / 434.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.2501, allocations: 351.6 kB / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.026e-05/0.2502, allocations: 169.1 kB / 435 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.2503, allocations: 80.14 kB / 435.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.2503, allocations: 75.28 kB / 435.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.2504, allocations: 109.8 kB / 435.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2504, allocations: 0 / 435.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.483e-05/0.2504, allocations: 37.59 kB / 435.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/0.2505, allocations: 164.3 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2506, allocations: 109.8 kB / 435.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.2506, allocations: 25.7 kB / 435.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.2507, allocations: 84.14 kB / 435.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.2507, allocations: 0 / 435.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.2507, allocations: 21.7 kB / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2509, allocations: 314.8 kB / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.2509, allocations: 0 / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.2509, allocations: 29.7 kB / 436 MB, free: 2.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.2509, allocations: 20.94 kB / 436 MB, free: 2.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2509, allocations: 0 / 436 MB, free: 2.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/0.251, allocations: 41.59 kB / 436.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2511, allocations: 4 kB / 436.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.2511, allocations: 0 / 436.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2511, allocations: 0 / 436.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.2511, allocations: 4 kB / 436.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2511, allocations: 3.938 kB / 436.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.2512, allocations: 0 / 436.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.2512, allocations: 7.984 kB / 436.1 MB, free: 2.008 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.0001093/0.2513, allocations: 189.1 kB / 436.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.2514, allocations: 109 kB / 436.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.2514, allocations: 108.4 kB / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.871e-05/0.2515, allocations: 184.2 kB / 436.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.978e-05/0.2516, allocations: 184.2 kB / 436.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.425e-05/0.2517, allocations: 176.3 kB / 437 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.2519, allocations: 356.8 kB / 437.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-05/0.252, allocations: 112.9 kB / 437.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.252, allocations: 101 kB / 437.6 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-05/0.2521, allocations: 180.2 kB / 437.7 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/0.2522, allocations: 188.3 kB / 437.9 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.642e-05/0.2522, allocations: 180.5 kB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.207e-05/0.2523, allocations: 184.2 kB / 438.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.2525, allocations: 315.7 kB / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.2525, allocations: 101 kB / 438.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.2526, allocations: 180.3 kB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2528, allocations: 108.9 kB / 439 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.2528, allocations: 176.3 kB / 439.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.2529, allocations: 109.2 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.784e-05/0.2529, allocations: 91.27 kB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2529, allocations: 4 kB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.2532, allocations: 43.88 kB / 439.4 MB, free: 14.51 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.0004137/0.2537, allocations: 248.1 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.473e-05/0.2537, allocations: 0 / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2537, allocations: 4 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.2537, allocations: 4 kB / 439.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.2541, allocations: 462.2 kB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.2544, allocations: 176.2 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.973e-05/0.2544, allocations: 55.36 kB / 440.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.901e-05/0.2545, allocations: 15.97 kB / 440.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.2545, allocations: 7.438 kB / 440.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2545, allocations: 0 / 440.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of Templates: time 0.003725/0.2583, allocations: 0.9839 MB / 441.3 MB, free: 12.54 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.302914044819772]