Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002502/0.002502, allocations: 193.9 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 47.92 kB / 370.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2376, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001971/0.2395, allocations: 0.515 MB / 423.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2416, allocations: 1.337 MB / 424.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.2416, allocations: 4 kB / 424.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.2416, allocations: 3.938 kB / 424.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.675e-05/0.2416, allocations: 0 / 424.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.2423, allocations: 181.7 kB / 425.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.05e-05/0.2423, allocations: 8 kB / 425.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.2424, allocations: 15.98 kB / 425.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.91e-05/0.2424, allocations: 4 kB / 425.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.2425, allocations: 15.92 kB / 425.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2425, allocations: 0 / 425.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.2428, allocations: 151.8 kB / 425.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.2428, allocations: 4 kB / 425.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.2428, allocations: 7.922 kB / 425.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.243, allocations: 111.5 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.243, allocations: 8 kB / 425.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.243, allocations: 0 / 425.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.243, allocations: 0 / 425.4 MB, free: 12.13 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.0003765/0.2434, allocations: 270.2 kB / 425.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2434, allocations: 11.97 kB / 425.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.2435, allocations: 4.891 kB / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.2436, allocations: 118.5 kB / 425.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.2436, allocations: 8.297 kB / 425.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2437, allocations: 4.125 kB / 425.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.2438, allocations: 55.41 kB / 425.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2438, allocations: 0 / 425.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2438, allocations: 4 kB / 425.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.2438, allocations: 0 / 425.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.2438, allocations: 4 kB / 425.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.2443, allocations: 351.5 kB / 426.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.2444, allocations: 177 kB / 426.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.2444, allocations: 84.14 kB / 426.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.2445, allocations: 75.28 kB / 426.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/0.2445, allocations: 109.8 kB / 426.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2445, allocations: 0 / 426.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.575e-05/0.2446, allocations: 25.7 kB / 426.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.2447, allocations: 160.3 kB / 426.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2448, allocations: 109.8 kB / 426.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.2448, allocations: 29.7 kB / 427 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.2449, allocations: 88.09 kB / 427.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.2449, allocations: 0 / 427.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.2449, allocations: 21.7 kB / 427.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2451, allocations: 314.8 kB / 427.4 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.2451, allocations: 4 kB / 427.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.2451, allocations: 25.7 kB / 427.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.2452, allocations: 8.859 kB / 427.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2452, allocations: 0 / 427.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001197/0.2453, allocations: 45.72 kB / 427.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2453, allocations: 8.031 kB / 427.5 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2453, allocations: 0 / 427.5 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2453, allocations: 4 kB / 427.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.062e-05/0.2454, allocations: 0 / 427.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2454, allocations: 0 / 427.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/0.2454, allocations: 0 / 427.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2454, allocations: 4 kB / 427.5 MB, free: 9.855 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.0001205/0.2455, allocations: 189 kB / 427.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.725e-05/0.2456, allocations: 113.2 kB / 427.8 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.2457, allocations: 112.4 kB / 427.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.732e-05/0.2458, allocations: 184.3 kB / 428.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-05/0.2459, allocations: 180.3 kB / 428.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.271e-05/0.246, allocations: 184.2 kB / 428.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.2462, allocations: 356.8 kB / 428.8 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.848e-05/0.2463, allocations: 108.9 kB / 428.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.2463, allocations: 105 kB / 429 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.548e-05/0.2464, allocations: 176.3 kB / 429.2 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/0.2465, allocations: 184.2 kB / 429.3 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.258e-05/0.2466, allocations: 176.3 kB / 429.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.404e-05/0.2467, allocations: 184.4 kB / 429.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.2468, allocations: 319.7 kB / 430 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.2469, allocations: 109 kB / 430.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/0.247, allocations: 180.3 kB / 430.3 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2471, allocations: 104.9 kB / 430.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.2472, allocations: 184.2 kB / 430.6 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.2472, allocations: 108.9 kB / 430.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.891e-05/0.2473, allocations: 83.28 kB / 430.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2473, allocations: 4 kB / 430.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.2476, allocations: 39.86 kB / 430.8 MB, free: 6.352 MB / 334.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.0004631/0.248, allocations: 257.7 kB / 431 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.324e-05/0.2481, allocations: 4 kB / 431.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2481, allocations: 0 / 431.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.2481, allocations: 0 / 431.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.2485, allocations: 463.6 kB / 431.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.2488, allocations: 160.3 kB / 431.7 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.428e-05/0.2488, allocations: 71.27 kB / 431.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.2489, allocations: 11.92 kB / 431.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.249, allocations: 15.38 kB / 431.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.249, allocations: 0 / 431.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of Templates: time 0.00367/0.2526, allocations: 0.935 MB / 432.7 MB, free: 4.418 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.302667420357466]