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.001331/0.001331, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001384/0.001384, allocations: 140.3 kB / 24.89 MB, free: 9.207 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.9141/0.9141, allocations: 173.3 MB / 201.5 MB, free: 9.168 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.623e-06/1.623e-06, allocations: 0 / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.513e-05, allocations: 2.312 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001939/0.001964, allocations: 0.5165 MB / 269 MB, free: 5.672 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.003862, allocations: 1.394 MB / 270.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.003888, allocations: 0 / 270.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.003903, allocations: 0 / 270.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.278e-05/0.003935, allocations: 4 kB / 270.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.004586, allocations: 175.4 kB / 270.5 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.296e-05/0.004639, allocations: 15.98 kB / 270.5 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.004676, allocations: 7.984 kB / 270.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.004735, allocations: 7.938 kB / 270.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.004798, allocations: 23.92 kB / 270.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.004815, allocations: 0 / 270.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.005079, allocations: 151.8 kB / 270.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.005094, allocations: 4 kB / 270.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.557e-05/0.00511, allocations: 3.984 kB / 270.7 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.005344, allocations: 147.6 kB / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005346, allocations: 0 / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005347, allocations: 0 / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.00535, allocations: 0 / 270.9 MB, free: 3.73 MB / 250.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.000277/0.005627, allocations: 252.8 kB / 271.1 MB, free: 3.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.005665, allocations: 16.91 kB / 271.1 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.005694, allocations: 4.938 kB / 271.2 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.097e-05/0.005775, allocations: 105.8 kB / 271.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.005813, allocations: 4.375 kB / 271.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.005825, allocations: 384 / 271.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.005911, allocations: 63.89 kB / 271.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005919, allocations: 3.938 kB / 271.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.005927, allocations: 0 / 271.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.005933, allocations: 0 / 271.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.989e-06/0.005943, allocations: 0 / 271.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.006318, allocations: 328 kB / 271.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.006386, allocations: 169.2 kB / 271.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.006415, allocations: 84.08 kB / 271.9 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.006438, allocations: 75.28 kB / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.006487, allocations: 117.8 kB / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.006489, allocations: 0 / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 5.76e-05/0.006546, allocations: 25.7 kB / 272.1 MB, free: 2.398 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.006607, allocations: 152.4 kB / 272.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.006688, allocations: 118.6 kB / 272.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.006701, allocations: 25.7 kB / 272.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.006746, allocations: 88.09 kB / 272.5 MB, free: 1.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.006748, allocations: 4 kB / 272.5 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.006782, allocations: 17.7 kB / 272.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.006874, allocations: 318.8 kB / 272.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-06/0.006882, allocations: 3.938 kB / 272.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.006905, allocations: 29.7 kB / 272.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/0.006926, allocations: 8.844 kB / 272.9 MB, free: 1.582 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006928, allocations: 0 / 272.9 MB, free: 1.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.784e-05/0.007006, allocations: 37.64 kB / 272.9 MB, free: 1.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.007019, allocations: 7.094 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007023, allocations: 4 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.007035, allocations: 0 / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.723e-05/0.007072, allocations: 4 kB / 272.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.007075, allocations: 0 / 272.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.00711, allocations: 0 / 272.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.00712, allocations: 7.922 kB / 272.9 MB, free: 1.52 MB / 250.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 0.0001543/0.007274, allocations: 189.1 kB / 273.1 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.007329, allocations: 104.9 kB / 273.2 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.007373, allocations: 108.5 kB / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.251e-05/0.007426, allocations: 184.2 kB / 273.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-05/0.007476, allocations: 184.3 kB / 273.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-05/0.007528, allocations: 180.2 kB / 273.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.007701, allocations: 313.7 kB / 274.2 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-05/0.007738, allocations: 117 kB / 274.3 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.007783, allocations: 104.9 kB / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-05/0.007831, allocations: 180.4 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.007882, allocations: 184.2 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.365e-05/0.007936, allocations: 184.2 kB / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-05/0.007986, allocations: 176.3 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.008099, allocations: 307.7 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.008137, allocations: 112.9 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.008196, allocations: 184.2 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.008285, allocations: 108.9 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.008336, allocations: 180.2 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.008364, allocations: 104.9 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.22e-05/0.008387, allocations: 12.86 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008387, allocations: 0 / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.008673, allocations: 47.86 kB / 276.1 MB, free: 14.14 MB / 266.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.0004386/0.009112, allocations: 251.8 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.009168, allocations: 12.8 kB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.009172, allocations: 0 / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.009175, allocations: 4 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.009591, allocations: 455.7 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000172/0.009763, allocations: 171.9 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.0098, allocations: 55.36 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.842e-05/0.009849, allocations: 12.05 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.009915, allocations: 63.34 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009916, allocations: 0 / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of Templates: time 0.003254/0.01317, allocations: 1.099 MB / 278.2 MB, free: 12.01 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.630400450900197]