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.0006856/0.0006856, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003803/0.003803, allocations: 148.3 kB / 24.68 MB, free: 9.434 MB / 18.57 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 0.8648/0.8648, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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 1.423e-06/1.423e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.03e-05, allocations: 10.16 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0008715/0.0008918, allocations: 489.1 kB / 320.2 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.002046, allocations: 1.345 MB / 321.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.573e-05/0.002061, allocations: 0 / 321.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.002074, allocations: 0 / 321.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.046e-05/0.002095, allocations: 3.938 kB / 321.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.002493, allocations: 189 kB / 321.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.355e-05/0.002526, allocations: 19.92 kB / 321.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.546e-05/0.002552, allocations: 8 kB / 321.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.002588, allocations: 11.97 kB / 321.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.411e-05/0.002622, allocations: 12 kB / 321.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.002632, allocations: 0 / 321.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.002777, allocations: 151.7 kB / 321.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.002789, allocations: 8 kB / 321.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.297e-05/0.002802, allocations: 4 kB / 321.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.002982, allocations: 151.7 kB / 322.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002984, allocations: 0 / 322.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.002985, allocations: 0 / 322.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.002989, allocations: 0 / 322.1 MB, free: 3.469 MB / 282.7 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.0002491/0.003238, allocations: 282 kB / 322.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.003271, allocations: 8.922 kB / 322.3 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.003303, allocations: 12.89 kB / 322.3 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.736e-05/0.00337, allocations: 101.8 kB / 322.4 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.003383, allocations: 384 / 322.4 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.003391, allocations: 4.375 kB / 322.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.143e-05/0.003482, allocations: 67.95 kB / 322.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.003489, allocations: 3.938 kB / 322.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.003498, allocations: 0 / 322.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.003502, allocations: 3.938 kB / 322.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.00352, allocations: 4 kB / 322.5 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.003802, allocations: 343.6 kB / 322.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.738e-05/0.003859, allocations: 165.1 kB / 323 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.003881, allocations: 84.08 kB / 323.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.0039, allocations: 79.28 kB / 323.2 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.003934, allocations: 109.8 kB / 323.3 MB, free: 2.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.003934, allocations: 4 kB / 323.3 MB, free: 2.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.247e-05/0.003987, allocations: 33.62 kB / 323.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.004037, allocations: 156.4 kB / 323.5 MB, free: 1.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.004112, allocations: 109.8 kB / 323.6 MB, free: 1.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004121, allocations: 25.7 kB / 323.6 MB, free: 1.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.004162, allocations: 88.14 kB / 323.7 MB, free: 1.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.004164, allocations: 0 / 323.7 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.004188, allocations: 13.72 kB / 323.7 MB, free: 1.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.004259, allocations: 318.8 kB / 324 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.004269, allocations: 4 kB / 324 MB, free: 1.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/0.004287, allocations: 29.7 kB / 324.1 MB, free: 1.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.004307, allocations: 8.859 kB / 324.1 MB, free: 1.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004309, allocations: 0 / 324.1 MB, free: 1.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.111e-05/0.00439, allocations: 41.58 kB / 324.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.004401, allocations: 4 kB / 324.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.004405, allocations: 0 / 324.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.004417, allocations: 7.984 kB / 324.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.117e-05/0.004458, allocations: 0 / 324.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.004462, allocations: 3.938 kB / 324.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.004491, allocations: 128 / 324.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.0045, allocations: 8 kB / 324.1 MB, free: 1.188 MB / 282.7 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 6.378e-05/0.004564, allocations: 185.1 kB / 324.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.004602, allocations: 116.8 kB / 324.4 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.004635, allocations: 108.4 kB / 324.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.916e-05/0.004674, allocations: 180.3 kB / 324.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.084e-05/0.004715, allocations: 184.2 kB / 324.9 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.724e-05/0.004752, allocations: 176.3 kB / 325.1 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.004882, allocations: 356.8 kB / 325.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/0.004906, allocations: 109.4 kB / 325.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.00493, allocations: 109 kB / 325.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.019e-05/0.00497, allocations: 188.1 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.005011, allocations: 188.3 kB / 326 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.813e-05/0.005049, allocations: 180.2 kB / 326.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.759e-05/0.005087, allocations: 176.3 kB / 326.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.419e-05/0.005171, allocations: 307.8 kB / 326.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.005198, allocations: 112.8 kB / 326.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.005247, allocations: 184.2 kB / 326.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.658e-05/0.005303, allocations: 101 kB / 327 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.005348, allocations: 176.3 kB / 327.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.005371, allocations: 112.9 kB / 327.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.005402, allocations: 91.27 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005402, allocations: 4 kB / 327.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.005573, allocations: 35.88 kB / 327.4 MB, free: 13.69 MB / 298.7 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.0002799/0.005853, allocations: 261.9 kB / 327.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.478e-05/0.005908, allocations: 4 kB / 327.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.00591, allocations: 4.062 kB / 327.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.005912, allocations: 3.938 kB / 327.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.006148, allocations: 459.7 kB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.006317, allocations: 193.9 kB / 328.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.006355, allocations: 63.28 kB / 328.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.006369, allocations: 8.5 kB / 328.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.006369, allocations: 0 / 328.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of Templates: time 0.001715/0.008085, allocations: 0.9879 MB / 329.4 MB, free: 11.68 MB / 298.7 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.053690248169005]