Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 84.25 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 158.4 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.226e-05, allocations: 6.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0012/0.001223, allocations: 0.4989 MB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.003186, allocations: 1.412 MB / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.003213, allocations: 0 / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.003232, allocations: 3.938 kB / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.272e-05/0.003255, allocations: 0 / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.003933, allocations: 191.5 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.753e-05/0.003981, allocations: 13.75 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.004023, allocations: 3.859 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.004079, allocations: 10.62 kB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.004133, allocations: 11.67 kB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.004152, allocations: 9.016 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.00445, allocations: 156.6 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.004465, allocations: 4.797 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.004482, allocations: 5.031 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.004756, allocations: 150.5 kB / 327.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004758, allocations: 1.125 kB / 327.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004758, allocations: 4 kB / 327.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.004762, allocations: 0 / 327.5 MB, free: 14.99 MB / 302.1 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.0003758/0.005137, allocations: 276.8 kB / 327.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.005172, allocations: 12.8 kB / 327.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.005301, allocations: 5.484 kB / 327.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.005415, allocations: 108.9 kB / 327.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.005426, allocations: 1.562 kB / 327.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.005435, allocations: 6.047 kB / 327.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.005549, allocations: 57.84 kB / 327.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.005562, allocations: 4.547 kB / 327.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005572, allocations: 4 kB / 327.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.005576, allocations: 1.031 kB / 327.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.146e-05/0.005597, allocations: 3.047 kB / 327.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.006003, allocations: 344.1 kB / 328.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.006125, allocations: 175 kB / 328.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.00617, allocations: 85.3 kB / 328.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.006212, allocations: 76.34 kB / 328.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.424e-05/0.006286, allocations: 107.5 kB / 328.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.006287, allocations: 0 / 328.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.457e-05/0.006371, allocations: 33.09 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.006475, allocations: 161.3 kB / 328.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.006597, allocations: 115.7 kB / 329 MB, free: 13.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.006618, allocations: 26.36 kB / 329 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.006682, allocations: 82.75 kB / 329.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.006684, allocations: 0 / 329.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.006726, allocations: 19.84 kB / 329.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.006877, allocations: 317.1 kB / 329.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.00689, allocations: 1.859 kB / 329.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.411e-05/0.006924, allocations: 30.31 kB / 329.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.966e-05/0.006954, allocations: 11.98 kB / 329.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.006955, allocations: 0 / 329.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001149/0.00707, allocations: 45.97 kB / 329.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.007081, allocations: 5.25 kB / 329.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.007085, allocations: 1.781 kB / 329.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.007097, allocations: 0 / 329.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.007154, allocations: 6.031 kB / 329.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.007159, allocations: 1.609 kB / 329.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.007192, allocations: 0 / 329.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.007203, allocations: 3.328 kB / 329.5 MB, free: 12.84 MB / 302.1 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.0001273/0.007331, allocations: 188.2 kB / 329.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.007416, allocations: 108 kB / 329.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.00748, allocations: 118.5 kB / 329.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.773e-05/0.007568, allocations: 182.3 kB / 330.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.09e-05/0.007659, allocations: 179.2 kB / 330.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-05/0.00774, allocations: 181.9 kB / 330.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.00801, allocations: 355.7 kB / 330.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-05/0.008061, allocations: 115.2 kB / 330.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.008115, allocations: 101.7 kB / 331 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.129e-05/0.008206, allocations: 182.3 kB / 331.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.169e-05/0.008288, allocations: 182.4 kB / 331.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.528e-05/0.008373, allocations: 183.2 kB / 331.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.629e-05/0.008459, allocations: 182.2 kB / 331.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.008631, allocations: 303.1 kB / 332 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.008697, allocations: 113.1 kB / 332.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.008788, allocations: 178.3 kB / 332.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.008909, allocations: 110.9 kB / 332.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.009, allocations: 186.3 kB / 332.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.009047, allocations: 103 kB / 332.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.009105, allocations: 87.62 kB / 332.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009106, allocations: 0 / 332.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000309/0.009415, allocations: 49.91 kB / 332.9 MB, free: 9.43 MB / 302.1 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.0004118/0.009826, allocations: 249.7 kB / 333.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.009901, allocations: 5 kB / 333.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009903, allocations: 0 / 333.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.009905, allocations: 1.344 kB / 333.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.01032, allocations: 463 kB / 333.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.01054, allocations: 166.2 kB / 333.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.347e-05/0.0106, allocations: 62.52 kB / 333.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.359e-05/0.01067, allocations: 11.02 kB / 333.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.01069, allocations: 14.25 kB / 333.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.01069, allocations: 1.125 kB / 333.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of Templates: time 0.003812/0.01451, allocations: 0.9959 MB / 334.8 MB, free: 8.301 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.15140825510025]