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.0009138/0.0009138, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.0009486/0.0009486, allocations: 150.2 kB / 24.81 MB, free: 9.285 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.9372/0.9372, allocations: 173.3 MB / 201.4 MB, free: 9.191 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 2.385e-06/2.385e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.515e-05, allocations: 2.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001652/0.001677, allocations: 0.518 MB / 268.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.003652, allocations: 1.374 MB / 270.3 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.003686, allocations: 0 / 270.3 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.003706, allocations: 7.938 kB / 270.3 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.003744, allocations: 4 kB / 270.3 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006217/0.004366, allocations: 179.4 kB / 270.5 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.004414, allocations: 15.98 kB / 270.5 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.004449, allocations: 0 / 270.5 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.004503, allocations: 11.98 kB / 270.5 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.004562, allocations: 15.94 kB / 270.5 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.004579, allocations: 0 / 270.5 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.004835, allocations: 155.7 kB / 270.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.004852, allocations: 8 kB / 270.7 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.004867, allocations: 0 / 270.7 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.005098, allocations: 151.6 kB / 270.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.005102, allocations: 0 / 270.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005103, allocations: 0 / 270.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005108, allocations: 0 / 270.8 MB, free: 3.746 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.0003396/0.005447, allocations: 380.4 kB / 271.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.005493, allocations: 8.922 kB / 271.2 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.005527, allocations: 8.891 kB / 271.2 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.512e-05/0.005612, allocations: 104.6 kB / 271.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.005626, allocations: 4.375 kB / 271.3 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.005635, allocations: 384 / 271.3 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.831e-05/0.005733, allocations: 59.95 kB / 271.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.005743, allocations: 3.938 kB / 271.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.005752, allocations: 0 / 271.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.005758, allocations: 0 / 271.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.093e-05/0.005769, allocations: 3.938 kB / 271.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.006117, allocations: 475.3 kB / 271.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.277e-05/0.00621, allocations: 265.5 kB / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.006246, allocations: 130.9 kB / 272.2 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.006278, allocations: 119.2 kB / 272.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.006333, allocations: 164.5 kB / 272.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.006334, allocations: 3.938 kB / 272.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 6.644e-05/0.0064, allocations: 29.66 kB / 272.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.006465, allocations: 196.3 kB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.00656, allocations: 173.8 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.006572, allocations: 29.7 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.006629, allocations: 130.9 kB / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.006631, allocations: 0 / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.006669, allocations: 23.38 kB / 273.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.006801, allocations: 0.4884 MB / 273.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.006811, allocations: 0 / 273.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.006838, allocations: 33.69 kB / 273.6 MB, free: 0.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.262e-05/0.006861, allocations: 11.62 kB / 273.6 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006862, allocations: 0 / 273.6 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.345e-05/0.006956, allocations: 37.73 kB / 273.6 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.00697, allocations: 11 kB / 273.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.006974, allocations: 0 / 273.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.006986, allocations: 4 kB / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.091e-05/0.007027, allocations: 0 / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.007029, allocations: 0 / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.007097, allocations: 8.188 kB / 273.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.007106, allocations: 4 kB / 273.7 MB, free: 0.668 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 8.646e-05/0.007193, allocations: 271.8 kB / 273.9 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.007246, allocations: 160.8 kB / 274.1 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.007299, allocations: 152.4 kB / 274.2 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.925e-05/0.007368, allocations: 280 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.015e-05/0.007428, allocations: 264.1 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.704e-05/0.007485, allocations: 264.1 kB / 275 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.007632, allocations: 484.5 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/0.007664, allocations: 152.9 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.007697, allocations: 152.8 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-05/0.007753, allocations: 264.1 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.007809, allocations: 268.2 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.645e-05/0.007865, allocations: 276 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.515e-05/0.007921, allocations: 264.1 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.008043, allocations: 455.9 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.008078, allocations: 148.9 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.008139, allocations: 272 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.008205, allocations: 152.8 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.008261, allocations: 272 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.008291, allocations: 152.8 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.008329, allocations: 123.2 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008329, allocations: 0 / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.008502, allocations: 43.86 kB / 278.4 MB, free: 11.71 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.0003286/0.008831, allocations: 306.9 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.614e-05/0.008887, allocations: 15.62 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.008889, allocations: 0 / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.00889, allocations: 0 / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.009165, allocations: 0.7062 MB / 279.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001485/0.009313, allocations: 221.5 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.805e-05/0.009341, allocations: 59.61 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.438e-05/0.009386, allocations: 7.984 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.009436, allocations: 82.17 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009436, allocations: 0 / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of Templates: time 0.00243/0.01187, allocations: 1.106 MB / 280.9 MB, free: 9.176 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.4316121442243457]