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.00115/0.00115, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.000908/0.000908, allocations: 161 kB / 24.55 MB, free: 16 kB / 18.57 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.9401/0.9401, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.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.703e-06/1.703e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.108e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001745/0.001776, allocations: 0.5261 MB / 273.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.004283, allocations: 1.447 MB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.17e-05/0.004315, allocations: 0 / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.004339, allocations: 3.938 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.514e-05/0.004374, allocations: 0 / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.005108, allocations: 179.4 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.395e-05/0.005171, allocations: 15.92 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.005214, allocations: 8 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.005286, allocations: 19.91 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.005344, allocations: 4 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.005363, allocations: 4 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.005617, allocations: 155.8 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.005633, allocations: 3.938 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.005656, allocations: 11.98 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.005903, allocations: 151.7 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.005908, allocations: 0 / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005909, allocations: 0 / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.005915, allocations: 0 / 275.5 MB, free: 15.01 MB / 266.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.0003697/0.006284, allocations: 380.4 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.006329, allocations: 12.03 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.006488, allocations: 0.9375 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.006591, allocations: 116.5 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.006604, allocations: 4.375 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.006615, allocations: 384 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.006727, allocations: 59.91 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.006736, allocations: 3.938 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.006747, allocations: 0 / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.006756, allocations: 4 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.567e-05/0.006772, allocations: 4 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.007177, allocations: 494.7 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.871e-05/0.007276, allocations: 265.4 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.007318, allocations: 138.8 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.00735, allocations: 119.2 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.007404, allocations: 152.6 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.007405, allocations: 0 / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.283e-05/0.007478, allocations: 33.69 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.007552, allocations: 196.3 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.007661, allocations: 173.9 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.007672, allocations: 29.7 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.007735, allocations: 130.9 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-06/0.007737, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.007778, allocations: 23.36 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.007906, allocations: 496.1 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.00792, allocations: 3.938 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.007947, allocations: 29.7 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.948e-05/0.007977, allocations: 15.67 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.007978, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001166/0.008095, allocations: 45.69 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.008111, allocations: 4 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.008116, allocations: 0 / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.008131, allocations: 4 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.008183, allocations: 0 / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.008188, allocations: 0 / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.385e-05/0.008222, allocations: 0 / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.008233, allocations: 7.938 kB / 278.4 MB, free: 11.9 MB / 266.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.0001048/0.008338, allocations: 275.8 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.008404, allocations: 156.8 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.008456, allocations: 160.4 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.69e-05/0.008523, allocations: 272 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.757e-05/0.00859, allocations: 268.1 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.428e-05/0.008654, allocations: 268 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.0088, allocations: 495.9 kB / 280.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.00883, allocations: 152.9 kB / 280.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.008861, allocations: 148.8 kB / 280.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.387e-05/0.008915, allocations: 268 kB / 280.8 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/0.008973, allocations: 276 kB / 281 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003026/0.009275, allocations: 264.1 kB / 281.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.095e-05/0.009326, allocations: 264.1 kB / 281.5 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.009448, allocations: 452 kB / 282 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.00949, allocations: 160.7 kB / 282.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.009556, allocations: 272.1 kB / 282.4 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.009634, allocations: 148.9 kB / 282.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.009695, allocations: 268 kB / 282.8 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.009726, allocations: 148.9 kB / 283 MB, free: 7.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.619e-05/0.009772, allocations: 131.4 kB / 283.1 MB, free: 6.961 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009772, allocations: 4 kB / 283.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.00996, allocations: 39.86 kB / 283.1 MB, free: 6.918 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.0003654/0.01032, allocations: 297.8 kB / 283.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.471e-05/0.01041, allocations: 15.62 kB / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01041, allocations: 0 / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.01041, allocations: 0 / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.0107, allocations: 0.7101 MB / 284.2 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.01092, allocations: 213.5 kB / 284.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.509e-05/0.01095, allocations: 55.36 kB / 284.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.134e-05/0.01102, allocations: 16.03 kB / 284.4 MB, free: 5.562 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.01103, allocations: 12.5 kB / 284.4 MB, free: 5.551 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01103, allocations: 0 / 284.4 MB, free: 5.551 MB / 266.7 MB Notification: Performance of Templates: time 0.003048/0.01408, allocations: 1.156 MB / 285.6 MB, free: 4.406 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5982779571786523]