Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009876/0.0009876, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002607, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002447, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8711/0.8711, allocations: 158.6 MB / 171.1 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1326/1.004, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.307e-06/1.06e-05, allocations: 6.312 kB / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002186/0.002197, allocations: 2.325 MB / 224.2 MB, free: 13.84 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.003059, allocations: 0.7494 MB / 224.9 MB, free: 13.08 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.003086, allocations: 4 kB / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.003121, allocations: 11.92 kB / 224.9 MB, free: 13.06 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.003163, allocations: 3.938 kB / 224.9 MB, free: 13.06 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.003558, allocations: 191.4 kB / 225.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.00363, allocations: 23.92 kB / 225.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.003662, allocations: 0 / 225.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.003715, allocations: 19.91 kB / 225.2 MB, free: 12.83 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.003765, allocations: 12 kB / 225.2 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.003776, allocations: 0 / 225.2 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.004028, allocations: 199.6 kB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.836e-06/0.004037, allocations: 0 / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.205e-05/0.004049, allocations: 4 kB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.004226, allocations: 131.6 kB / 225.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.64e-05/0.004242, allocations: 0 / 225.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004243, allocations: 0 / 225.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.004253, allocations: 0 / 225.5 MB, free: 12.49 MB / 234.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.0002499/0.004503, allocations: 268.4 kB / 225.8 MB, free: 12.2 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.00453, allocations: 8.031 kB / 225.8 MB, free: 12.2 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.004554, allocations: 4.922 kB / 225.8 MB, free: 12.19 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.73e-05/0.004632, allocations: 113.7 kB / 225.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.004639, allocations: 384 / 225.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.004647, allocations: 4.375 kB / 225.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.995e-05/0.004727, allocations: 54.8 kB / 225.9 MB, free: 11.98 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.004732, allocations: 4.188 kB / 225.9 MB, free: 11.98 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.00474, allocations: 8.359 kB / 225.9 MB, free: 11.97 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.004745, allocations: 3.938 kB / 225.9 MB, free: 11.97 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.198e-05/0.004757, allocations: 3.938 kB / 226 MB, free: 11.96 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.004989, allocations: 301.1 kB / 226.2 MB, free: 11.65 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.005042, allocations: 169.1 kB / 226.4 MB, free: 11.48 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.005061, allocations: 80.14 kB / 226.5 MB, free: 11.39 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.00508, allocations: 79.27 kB / 226.6 MB, free: 11.32 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.005119, allocations: 109.8 kB / 226.7 MB, free: 11.2 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.00512, allocations: 0 / 226.7 MB, free: 11.2 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 4.65e-05/0.005166, allocations: 37.58 kB / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.005213, allocations: 134.7 kB / 226.8 MB, free: 11.01 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.005289, allocations: 128.3 kB / 227 MB, free: 10.87 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.005299, allocations: 25.7 kB / 227 MB, free: 10.84 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.005337, allocations: 88.12 kB / 227.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.00534, allocations: 3.938 kB / 227.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.005365, allocations: 17.7 kB / 227.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.00544, allocations: 310.9 kB / 227.4 MB, free: 10.41 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.005447, allocations: 6.828 kB / 227.4 MB, free: 10.4 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.005465, allocations: 29.7 kB / 227.4 MB, free: 10.37 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.881e-05/0.005484, allocations: 19.7 kB / 227.5 MB, free: 10.34 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.005487, allocations: 4 kB / 227.5 MB, free: 10.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.41e-05/0.005541, allocations: 33.7 kB / 227.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.005551, allocations: 4 kB / 227.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.005556, allocations: 0 / 227.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.005563, allocations: 3.938 kB / 227.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-05/0.005601, allocations: 4 kB / 227.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.005604, allocations: 3.984 kB / 227.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.005634, allocations: 0 / 227.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.005645, allocations: 4.031 kB / 227.5 MB, free: 10.28 MB / 234.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.212e-05/0.005707, allocations: 193.1 kB / 227.7 MB, free: 10.08 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.005743, allocations: 108.9 kB / 227.8 MB, free: 9.969 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.005775, allocations: 112.2 kB / 227.9 MB, free: 9.855 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002869/0.006062, allocations: 184.2 kB / 228.1 MB, free: 9.668 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.618e-05/0.006098, allocations: 180.2 kB / 228.3 MB, free: 9.484 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.891e-05/0.006137, allocations: 176.3 kB / 228.4 MB, free: 9.305 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.006257, allocations: 325.4 kB / 228.8 MB, free: 8.961 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/0.006281, allocations: 105 kB / 228.9 MB, free: 8.852 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.006303, allocations: 101 kB / 229 MB, free: 8.746 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.006334, allocations: 112.9 kB / 229.1 MB, free: 8.629 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-05/0.006374, allocations: 180.3 kB / 229.3 MB, free: 8.445 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.006413, allocations: 184.2 kB / 229.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-05/0.006453, allocations: 188.2 kB / 229.6 MB, free: 8.066 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.791e-05/0.006491, allocations: 180.2 kB / 229.8 MB, free: 7.883 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.014e-05/0.006581, allocations: 307.8 kB / 230.1 MB, free: 7.559 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.00663, allocations: 184.2 kB / 230.3 MB, free: 7.371 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.006684, allocations: 101 kB / 230.4 MB, free: 7.266 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.006729, allocations: 192.1 kB / 230.6 MB, free: 7.07 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.006752, allocations: 101.3 kB / 230.7 MB, free: 6.965 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.003e-05/0.006772, allocations: 19.67 kB / 230.7 MB, free: 6.941 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006772, allocations: 4 kB / 230.7 MB, free: 6.938 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.006942, allocations: 47.81 kB / 230.7 MB, free: 6.891 MB / 234.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.0003568/0.007299, allocations: 284.3 kB / 231 MB, free: 6.629 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.432e-05/0.007343, allocations: 12.8 kB / 231 MB, free: 6.613 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.007347, allocations: 0 / 231 MB, free: 6.613 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.007348, allocations: 0 / 231 MB, free: 6.613 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.007529, allocations: 467.7 kB / 231.5 MB, free: 6.152 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001342/0.007663, allocations: 178.9 kB / 231.7 MB, free: 5.953 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.708e-05/0.00769, allocations: 55.34 kB / 231.7 MB, free: 5.879 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.15e-05/0.007712, allocations: 4 kB / 231.7 MB, free: 5.875 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.007761, allocations: 63.34 kB / 231.8 MB, free: 5.812 MB / 234.7 MB Notification: Performance of SimCode: time 6.42e-07/0.007761, allocations: 4.062 kB / 231.8 MB, free: 5.809 MB / 234.7 MB Notification: Performance of Templates: time 0.002488/0.01025, allocations: 1.315 MB / 233.1 MB, free: 4.496 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.439383590593934]