Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009517/0.0009517, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002587, allocations: 449.8 kB / 10.44 MB, free: 252 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.001051/0.001051, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002448, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.951/0.951, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07429/1.025, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.779e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001207/0.001225, allocations: 0.5674 MB / 245.3 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.002462, allocations: 1.456 MB / 246.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.461e-05/0.002477, allocations: 0 / 246.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.48e-06/0.002482, allocations: 3.938 kB / 246.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.887e-06/0.002491, allocations: 3.938 kB / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.002819, allocations: 159.5 kB / 246.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.661e-05/0.002866, allocations: 15.94 kB / 246.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.0029, allocations: 3.984 kB / 246.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.002953, allocations: 15.94 kB / 246.9 MB, free: 12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.003009, allocations: 11.98 kB / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.003023, allocations: 3.938 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.003238, allocations: 179.7 kB / 247.1 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.003251, allocations: 0 / 247.1 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.238e-05/0.003263, allocations: 4 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.003439, allocations: 131.6 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.00345, allocations: 0 / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00345, allocations: 0 / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.003458, allocations: 0 / 247.2 MB, free: 11.68 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.0002743/0.003733, allocations: 260.5 kB / 247.5 MB, free: 11.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.00376, allocations: 8.031 kB / 247.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.003902, allocations: 86.03 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.348e-05/0.003976, allocations: 109.8 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.003984, allocations: 384 / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.003992, allocations: 384 / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.923e-05/0.004062, allocations: 71.89 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-06/0.004068, allocations: 3.938 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.004074, allocations: 0 / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.00408, allocations: 4 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-06/0.004087, allocations: 0 / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.004368, allocations: 324 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.174e-05/0.00442, allocations: 169.1 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.00444, allocations: 88.17 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.004462, allocations: 75.28 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.004497, allocations: 109.8 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 6.32e-07/0.004497, allocations: 7.938 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.957e-05/0.004547, allocations: 29.7 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.004584, allocations: 130.7 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.00465, allocations: 110.7 kB / 248.8 MB, free: 9.969 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.004659, allocations: 25.7 kB / 248.8 MB, free: 9.938 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.004695, allocations: 92.03 kB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.004696, allocations: 3.938 kB / 248.9 MB, free: 9.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.00472, allocations: 17.7 kB / 248.9 MB, free: 9.816 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.004786, allocations: 314.8 kB / 249.2 MB, free: 9.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-06/0.004791, allocations: 4 kB / 249.2 MB, free: 9.496 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.004808, allocations: 29.7 kB / 249.3 MB, free: 9.461 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.759e-05/0.004825, allocations: 12.84 kB / 249.3 MB, free: 9.445 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004827, allocations: 0 / 249.3 MB, free: 9.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.39e-05/0.004881, allocations: 41.64 kB / 249.3 MB, free: 9.398 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.00489, allocations: 4 kB / 249.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.004894, allocations: 0 / 249.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.004903, allocations: 0 / 249.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.506e-05/0.004939, allocations: 7.938 kB / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.004941, allocations: 0 / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.004963, allocations: 3.984 kB / 249.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.00497, allocations: 4.125 kB / 249.3 MB, free: 9.379 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 5.561e-05/0.005025, allocations: 185.1 kB / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.005062, allocations: 108.9 kB / 249.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.005092, allocations: 104.5 kB / 249.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/0.005128, allocations: 184.2 kB / 249.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.698e-05/0.005165, allocations: 180.3 kB / 250.1 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.823e-05/0.005204, allocations: 188.2 kB / 250.3 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.005316, allocations: 313.5 kB / 250.6 MB, free: 8.074 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.005339, allocations: 108.9 kB / 250.7 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.005363, allocations: 109 kB / 250.8 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.005391, allocations: 109 kB / 250.9 MB, free: 7.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-05/0.005429, allocations: 184.1 kB / 251.1 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.005467, allocations: 180.3 kB / 251.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.78e-05/0.005504, allocations: 188.2 kB / 251.4 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.7e-05/0.005541, allocations: 180.3 kB / 251.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.305e-05/0.005624, allocations: 300 kB / 251.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.005668, allocations: 188.5 kB / 252.1 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.005725, allocations: 116.9 kB / 252.2 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.005763, allocations: 176.3 kB / 252.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.005783, allocations: 101 kB / 252.5 MB, free: 6.074 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.705e-05/0.0058, allocations: 20.84 kB / 252.5 MB, free: 6.051 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0058, allocations: 4 kB / 252.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.005953, allocations: 39.88 kB / 252.5 MB, free: 6.008 MB / 250.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.0002888/0.006242, allocations: 245.7 kB / 252.8 MB, free: 5.773 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.985e-05/0.006292, allocations: 8.859 kB / 252.8 MB, free: 5.762 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.006296, allocations: 0 / 252.8 MB, free: 5.762 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.006299, allocations: 3.984 kB / 252.8 MB, free: 5.758 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.006484, allocations: 467.8 kB / 253.2 MB, free: 5.297 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001395/0.006623, allocations: 179.8 kB / 253.4 MB, free: 5.094 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.657e-05/0.00665, allocations: 55.36 kB / 253.5 MB, free: 5.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.006696, allocations: 7.984 kB / 253.5 MB, free: 5.012 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.006743, allocations: 63.34 kB / 253.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of SimCode: time 4.5e-07/0.006744, allocations: 0 / 253.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of Templates: time 0.002273/0.009017, allocations: 1.146 MB / 254.7 MB, free: 3.812 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.256968267261982]