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.002009/0.002009, allocations: 96.3 kB / 21.73 MB, free: 2.699 MB / 18.57 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.001627/0.001627, allocations: 168.7 kB / 25.02 MB, free: 8.941 MB / 18.57 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 1.464/1.464, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.844e-06/1.844e-06, allocations: 0 / 250.3 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/3.009e-05, allocations: 6.312 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00388/0.00391, allocations: 2.136 MB / 252.5 MB, free: 5.691 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.005406, allocations: 0.7339 MB / 253.2 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.005439, allocations: 0 / 253.2 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.506e-05/0.005534, allocations: 11.94 kB / 253.2 MB, free: 4.938 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.005645, allocations: 4 kB / 253.2 MB, free: 4.934 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.0063, allocations: 207.3 kB / 253.4 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.375e-05/0.006383, allocations: 15.98 kB / 253.5 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.006418, allocations: 3.984 kB / 253.5 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.006488, allocations: 19.94 kB / 253.5 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.006553, allocations: 7.984 kB / 253.5 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.006572, allocations: 4 kB / 253.5 MB, free: 4.68 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.006912, allocations: 167.7 kB / 253.7 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.006929, allocations: 11.92 kB / 253.7 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.006953, allocations: 4 kB / 253.7 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.007268, allocations: 155.6 kB / 253.8 MB, free: 4.348 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.007271, allocations: 0 / 253.8 MB, free: 4.348 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007272, allocations: 4 kB / 253.8 MB, free: 4.344 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.007276, allocations: 0 / 253.8 MB, free: 4.344 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.0004317/0.007708, allocations: 282.1 kB / 254.1 MB, free: 4.039 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.007748, allocations: 11.98 kB / 254.1 MB, free: 4.027 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.007799, allocations: 8.875 kB / 254.1 MB, free: 4.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.00795, allocations: 113.7 kB / 254.2 MB, free: 3.883 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.007962, allocations: 384 / 254.2 MB, free: 3.883 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.007972, allocations: 384 / 254.2 MB, free: 3.883 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.008096, allocations: 63.95 kB / 254.3 MB, free: 3.809 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.008103, allocations: 192 / 254.3 MB, free: 3.809 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.008112, allocations: 384 / 254.3 MB, free: 3.809 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.00812, allocations: 3.938 kB / 254.3 MB, free: 3.805 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.008142, allocations: 4 kB / 254.3 MB, free: 3.801 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.008561, allocations: 351.7 kB / 254.6 MB, free: 3.426 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.008682, allocations: 173.1 kB / 254.8 MB, free: 3.246 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.008731, allocations: 80.14 kB / 254.9 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.008778, allocations: 79.27 kB / 255 MB, free: 3.086 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.067e-05/0.008859, allocations: 117.8 kB / 255.1 MB, free: 2.961 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.00886, allocations: 0 / 255.1 MB, free: 2.961 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 8.891e-05/0.008949, allocations: 33.59 kB / 255.1 MB, free: 2.922 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.009066, allocations: 156.4 kB / 255.3 MB, free: 2.75 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.009211, allocations: 113.8 kB / 255.4 MB, free: 2.629 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.009232, allocations: 25.7 kB / 255.4 MB, free: 2.598 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.009319, allocations: 92.14 kB / 255.5 MB, free: 2.504 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.009322, allocations: 0 / 255.5 MB, free: 2.504 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.009365, allocations: 17.7 kB / 255.5 MB, free: 2.48 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.009546, allocations: 314.8 kB / 255.8 MB, free: 2.164 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.009561, allocations: 4 kB / 255.8 MB, free: 2.16 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.009599, allocations: 33.69 kB / 255.9 MB, free: 2.121 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.009635, allocations: 12.89 kB / 255.9 MB, free: 2.105 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.009637, allocations: 3.938 kB / 255.9 MB, free: 2.102 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001349/0.009772, allocations: 45.59 kB / 255.9 MB, free: 2.051 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.009788, allocations: 12.06 kB / 255.9 MB, free: 2.039 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.009793, allocations: 0 / 255.9 MB, free: 2.039 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.009813, allocations: 4 kB / 255.9 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.009866, allocations: 3.984 kB / 255.9 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.00987, allocations: 0 / 255.9 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.009912, allocations: 0 / 255.9 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.00993, allocations: 4 kB / 255.9 MB, free: 2.027 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 0.0001356/0.01007, allocations: 181.1 kB / 256.1 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.01017, allocations: 112.9 kB / 256.2 MB, free: 1.723 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.103e-05/0.01026, allocations: 112.4 kB / 256.3 MB, free: 1.605 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.897e-05/0.01036, allocations: 184.3 kB / 256.5 MB, free: 1.418 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000107/0.01046, allocations: 184.2 kB / 256.7 MB, free: 1.23 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/0.01056, allocations: 176.3 kB / 256.9 MB, free: 1.051 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.01085, allocations: 360.9 kB / 257.2 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.085e-05/0.01091, allocations: 104.9 kB / 257.3 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.01097, allocations: 101 kB / 257.4 MB, free: 456 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.01107, allocations: 188.2 kB / 257.6 MB, free: 260 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.01119, allocations: 184.2 kB / 257.8 MB, free: 68 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001105/0.01131, allocations: 180.2 kB / 258 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/0.01141, allocations: 180.3 kB / 258.1 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.01161, allocations: 303.8 kB / 258.4 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.01168, allocations: 116.9 kB / 258.6 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.0118, allocations: 188.1 kB / 258.7 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.01192, allocations: 101 kB / 258.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.01202, allocations: 180.3 kB / 259 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.197e-05/0.01209, allocations: 104.9 kB / 259.1 MB, free: 14.67 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.489e-05/0.01218, allocations: 99.27 kB / 259.2 MB, free: 14.57 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01218, allocations: 0 / 259.2 MB, free: 14.57 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000328/0.01251, allocations: 43.86 kB / 259.3 MB, free: 14.53 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.0006973/0.0132, allocations: 275.3 kB / 259.5 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.547e-05/0.01328, allocations: 7.938 kB / 259.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01328, allocations: 0 / 259.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.064e-06/0.01329, allocations: 7.938 kB / 259.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.01379, allocations: 467.7 kB / 260 MB, free: 13.79 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.01411, allocations: 179 kB / 260.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.422e-05/0.01418, allocations: 59.34 kB / 260.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.01422, allocations: 7.984 kB / 260.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.01425, allocations: 12.5 kB / 260.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01425, allocations: 0 / 260.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of Templates: time 0.004491/0.01874, allocations: 1.161 MB / 261.4 MB, free: 12.33 MB / 250.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.187708965968341]