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.001381/0.001381, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002282/0.003663, allocations: 453.8 kB / 10.46 MB, free: 236 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.00135/0.00135, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001901/0.00325, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9313/0.9313, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1473/1.079, allocations: 49.49 MB / 220.7 MB, free: 1.359 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.422e-06/1.422e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.956e-05, allocations: 2.312 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002569/0.002588, allocations: 2.332 MB / 224.3 MB, free: 13.72 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.003485, allocations: 0.761 MB / 225.1 MB, free: 12.95 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.003512, allocations: 0 / 225.1 MB, free: 12.95 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/0.003551, allocations: 7.938 kB / 225.1 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.003598, allocations: 3.984 kB / 225.1 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.004065, allocations: 191.4 kB / 225.3 MB, free: 12.75 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.854e-05/0.004153, allocations: 15.92 kB / 225.3 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.004195, allocations: 0 / 225.3 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.004269, allocations: 19.92 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.004334, allocations: 15.98 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.004349, allocations: 0 / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.004666, allocations: 195.6 kB / 225.5 MB, free: 12.51 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.004679, allocations: 0 / 225.5 MB, free: 12.51 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.004696, allocations: 4 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.004919, allocations: 127.6 kB / 225.6 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.57e-05/0.004935, allocations: 4 kB / 225.6 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004936, allocations: 0 / 225.6 MB, free: 12.38 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.004948, allocations: 0 / 225.6 MB, free: 12.38 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.0004151/0.005363, allocations: 276.4 kB / 225.9 MB, free: 12.08 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.005411, allocations: 8.031 kB / 225.9 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.005453, allocations: 0.9375 kB / 225.9 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.005583, allocations: 109.8 kB / 226 MB, free: 11.94 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.005599, allocations: 4.375 kB / 226 MB, free: 11.94 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.005617, allocations: 384 / 226 MB, free: 11.94 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.005745, allocations: 62.78 kB / 226.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.005756, allocations: 4.188 kB / 226.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.005766, allocations: 384 / 226.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.005774, allocations: 3.938 kB / 226.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.28e-05/0.005787, allocations: 3.938 kB / 226.1 MB, free: 11.85 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.006129, allocations: 309 kB / 226.4 MB, free: 11.53 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/0.006202, allocations: 169.1 kB / 226.6 MB, free: 11.36 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.006228, allocations: 80.14 kB / 226.6 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.006251, allocations: 87.2 kB / 226.7 MB, free: 11.19 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.0063, allocations: 109.8 kB / 226.8 MB, free: 11.07 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.006301, allocations: 0 / 226.8 MB, free: 11.07 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 7.043e-05/0.006372, allocations: 37.64 kB / 226.9 MB, free: 11.03 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.006412, allocations: 126.7 kB / 227 MB, free: 10.89 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.00651, allocations: 128.3 kB / 227.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.006524, allocations: 29.7 kB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.006572, allocations: 88.12 kB / 227.2 MB, free: 10.62 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.006574, allocations: 0 / 227.2 MB, free: 10.62 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.006604, allocations: 21.73 kB / 227.3 MB, free: 10.6 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.006681, allocations: 314.8 kB / 227.6 MB, free: 10.28 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.006689, allocations: 2.828 kB / 227.6 MB, free: 10.28 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.006712, allocations: 29.7 kB / 227.6 MB, free: 10.24 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.006741, allocations: 23.72 kB / 227.6 MB, free: 10.21 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006743, allocations: 0 / 227.6 MB, free: 10.21 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.706e-05/0.00681, allocations: 33.69 kB / 227.7 MB, free: 10.18 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.006823, allocations: 4 kB / 227.7 MB, free: 10.17 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006828, allocations: 4 kB / 227.7 MB, free: 10.17 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.00684, allocations: 3.938 kB / 227.7 MB, free: 10.16 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.006894, allocations: 0 / 227.7 MB, free: 10.16 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.006899, allocations: 4 kB / 227.7 MB, free: 10.16 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.006938, allocations: 0 / 227.7 MB, free: 10.16 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.006949, allocations: 0 / 227.7 MB, free: 10.16 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 7.01e-05/0.007019, allocations: 189.2 kB / 227.9 MB, free: 9.965 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.007064, allocations: 108.9 kB / 228 MB, free: 9.852 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.007105, allocations: 116.2 kB / 228.1 MB, free: 9.734 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/0.007149, allocations: 184.1 kB / 228.3 MB, free: 9.547 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-05/0.0072, allocations: 176.3 kB / 228.4 MB, free: 9.367 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.072e-05/0.00725, allocations: 184.2 kB / 228.6 MB, free: 9.18 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.00739, allocations: 321.4 kB / 228.9 MB, free: 8.84 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/0.007417, allocations: 101 kB / 229 MB, free: 8.734 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.007444, allocations: 104.9 kB / 229.1 MB, free: 8.625 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.007485, allocations: 116.9 kB / 229.2 MB, free: 8.504 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.198e-05/0.007537, allocations: 180.3 kB / 229.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.007588, allocations: 184.2 kB / 229.6 MB, free: 8.133 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.944e-05/0.007638, allocations: 180.2 kB / 229.8 MB, free: 7.949 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.936e-05/0.007687, allocations: 184.1 kB / 229.9 MB, free: 7.762 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.007806, allocations: 303.8 kB / 230.2 MB, free: 7.441 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.00787, allocations: 184.2 kB / 230.4 MB, free: 7.254 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.007937, allocations: 109 kB / 230.5 MB, free: 7.141 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.007994, allocations: 188.1 kB / 230.7 MB, free: 6.949 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.008021, allocations: 101.3 kB / 230.8 MB, free: 6.844 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.736e-05/0.008058, allocations: 19.67 kB / 230.8 MB, free: 6.82 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008058, allocations: 0 / 230.8 MB, free: 6.82 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.008261, allocations: 51.86 kB / 230.9 MB, free: 6.77 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.0005812/0.008842, allocations: 289.2 kB / 231.2 MB, free: 6.504 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.008946, allocations: 12.8 kB / 231.2 MB, free: 6.488 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.008959, allocations: 4 kB / 231.2 MB, free: 6.484 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-06/0.008963, allocations: 0 / 231.2 MB, free: 6.484 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.00927, allocations: 463.7 kB / 231.6 MB, free: 6.027 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.009544, allocations: 178.9 kB / 231.8 MB, free: 5.828 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.548e-05/0.00959, allocations: 55.34 kB / 231.9 MB, free: 5.754 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.72e-05/0.009637, allocations: 4 kB / 231.9 MB, free: 5.75 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.009714, allocations: 63.34 kB / 231.9 MB, free: 5.688 MB / 234.7 MB Notification: Performance of SimCode: time 1.332e-06/0.009715, allocations: 96 / 231.9 MB, free: 5.688 MB / 234.7 MB Notification: Performance of Templates: time 0.003481/0.0132, allocations: 1.328 MB / 233.3 MB, free: 4.359 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6118169836699963]