Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001261/0.001261, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.001463/0.001463, allocations: 216.9 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2385, allocations: 53.31 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001568/0.2401, allocations: 0.5155 MB / 430.3 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.2421, allocations: 1.454 MB / 431.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.2421, allocations: 0 / 431.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.2421, allocations: 4 kB / 431.7 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.596e-05/0.2421, allocations: 3.938 kB / 431.7 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.2427, allocations: 178.8 kB / 431.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.2428, allocations: 15.88 kB / 431.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.2428, allocations: 4 kB / 431.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.2429, allocations: 7.984 kB / 432 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.519e-05/0.2429, allocations: 19.92 kB / 432 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.2429, allocations: 0 / 432 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.2432, allocations: 175.8 kB / 432.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-06/0.2432, allocations: 3.938 kB / 432.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.2433, allocations: 4 kB / 432.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.2435, allocations: 121 kB / 432.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2435, allocations: 0 / 432.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2435, allocations: 4 kB / 432.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2435, allocations: 0 / 432.3 MB, free: 5.043 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.0003802/0.2439, allocations: 359.2 kB / 432.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2439, allocations: 8.031 kB / 432.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.244, allocations: 8.922 kB / 432.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2442, allocations: 160.4 kB / 432.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2442, allocations: 4.312 kB / 432.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.2442, allocations: 4.125 kB / 432.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.2443, allocations: 37.64 kB / 432.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2443, allocations: 0 / 432.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2443, allocations: 7.984 kB / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2443, allocations: 0 / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.2443, allocations: 7.984 kB / 432.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.2448, allocations: 473 kB / 433.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.186e-05/0.2449, allocations: 169.1 kB / 433.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.2449, allocations: 84.14 kB / 433.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.2449, allocations: 79.28 kB / 433.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.877e-05/0.245, allocations: 113.8 kB / 433.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.245, allocations: 0 / 433.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.945e-05/0.2451, allocations: 25.7 kB / 433.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/0.2452, allocations: 156.4 kB / 433.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2453, allocations: 105.8 kB / 434 MB, free: 3.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2453, allocations: 29.64 kB / 434.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.2454, allocations: 88.14 kB / 434.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.2454, allocations: 4 kB / 434.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.2454, allocations: 13.72 kB / 434.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2455, allocations: 322.8 kB / 434.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.2455, allocations: 0 / 434.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.2456, allocations: 4 kB / 434.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.2456, allocations: 8.859 kB / 434.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2456, allocations: 4.094 kB / 434.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001075/0.2457, allocations: 37.66 kB / 434.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2457, allocations: 4 kB / 434.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2457, allocations: 4.234 kB / 434.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2457, allocations: 0 / 434.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.2458, allocations: 11.94 kB / 434.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2458, allocations: 0 / 434.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.2458, allocations: 0 / 434.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.2458, allocations: 3.938 kB / 434.6 MB, free: 2.5 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.0001114/0.2459, allocations: 197.1 kB / 434.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.246, allocations: 101 kB / 434.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.2461, allocations: 112.5 kB / 435 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.411e-05/0.2462, allocations: 184.1 kB / 435.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.59e-05/0.2462, allocations: 176.3 kB / 435.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.051e-05/0.2463, allocations: 188.2 kB / 435.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.2466, allocations: 405.2 kB / 435.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.822e-05/0.2466, allocations: 112.9 kB / 436 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.2467, allocations: 105 kB / 436.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-05/0.2467, allocations: 176.3 kB / 436.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-05/0.2468, allocations: 180.2 kB / 436.5 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.903e-05/0.2469, allocations: 184.5 kB / 436.6 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.723e-05/0.247, allocations: 184.2 kB / 436.8 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.2472, allocations: 311.8 kB / 437.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.2473, allocations: 182 kB / 437.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/0.2473, allocations: 180.3 kB / 437.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2474, allocations: 108.9 kB / 437.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.2475, allocations: 184.2 kB / 437.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.2476, allocations: 101 kB / 437.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.152e-05/0.2476, allocations: 87.28 kB / 437.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2476, allocations: 0 / 437.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.2479, allocations: 43.86 kB / 438 MB, free: 14.84 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.0004257/0.2484, allocations: 271.2 kB / 438.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.91e-05/0.2484, allocations: 4 kB / 438.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2484, allocations: 0 / 438.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.2484, allocations: 4 kB / 438.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.2488, allocations: 455.8 kB / 438.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.249, allocations: 164.3 kB / 438.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.2493, allocations: 0.6729 MB / 439.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.2494, allocations: 15.97 kB / 439.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.2494, allocations: 7.438 kB / 439.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2494, allocations: 7.938 kB / 439.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Templates: time 0.003508/0.253, allocations: 0.9555 MB / 440.5 MB, free: 12.25 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.121436357498169]