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.001997/0.001997, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002387/0.002387, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.47/1.47, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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.673e-06/1.673e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.787e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00164/0.001667, allocations: 0.4997 MB / 272.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.004066, allocations: 1.413 MB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.004095, allocations: 0 / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.004112, allocations: 3.938 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.004154, allocations: 4 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.004932, allocations: 183.4 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.027e-05/0.004993, allocations: 15.92 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.005035, allocations: 3.984 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.242e-05/0.005098, allocations: 15.94 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.005168, allocations: 7.984 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.005186, allocations: 0 / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.005507, allocations: 147.8 kB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.005531, allocations: 19.91 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.005555, allocations: 0 / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.005848, allocations: 151.6 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.005851, allocations: 4 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005852, allocations: 0 / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.005856, allocations: 4 kB / 274.6 MB, free: 15.34 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.0004209/0.006277, allocations: 270.2 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.006317, allocations: 19.91 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.006463, allocations: 4.938 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.006592, allocations: 109.7 kB / 275 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.006605, allocations: 4.375 kB / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.006616, allocations: 384 / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.006759, allocations: 63.89 kB / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.00677, allocations: 7.938 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.00678, allocations: 0 / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.006785, allocations: 0 / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.006809, allocations: 4 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.007267, allocations: 339.7 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.00739, allocations: 169.1 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.007451, allocations: 92.02 kB / 275.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.007493, allocations: 75.28 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.454e-05/0.007567, allocations: 105.8 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 2.975e-06/0.00757, allocations: 3.984 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 9.934e-05/0.00767, allocations: 37.66 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.007777, allocations: 156.4 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.007911, allocations: 109.9 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.007932, allocations: 29.7 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.008004, allocations: 84.12 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.008007, allocations: 0 / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.008049, allocations: 13.72 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.00823, allocations: 318.8 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.008247, allocations: 3.938 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.00841, allocations: 33.69 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.008441, allocations: 8.953 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.008442, allocations: 0 / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001395/0.008581, allocations: 45.59 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.008598, allocations: 8 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008604, allocations: 0 / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.008622, allocations: 0 / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.008675, allocations: 0 / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.008683, allocations: 7.984 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.008717, allocations: 0 / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.008727, allocations: 3.938 kB / 276.7 MB, free: 13.05 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.0001345/0.008862, allocations: 193.1 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.008949, allocations: 104.9 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.009017, allocations: 108.5 kB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/0.009122, allocations: 192.2 kB / 277.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.625e-05/0.009218, allocations: 176.3 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/0.00932, allocations: 184.2 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.009601, allocations: 356.9 kB / 278 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-05/0.009659, allocations: 101 kB / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.00972, allocations: 104.9 kB / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.847e-05/0.009818, allocations: 184.2 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.903e-05/0.009917, allocations: 184.2 kB / 278.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001122/0.01003, allocations: 180.2 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001009/0.01013, allocations: 184.3 kB / 278.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.01033, allocations: 299.8 kB / 279.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.01039, allocations: 112.9 kB / 279.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.0105, allocations: 180.2 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01062, allocations: 109 kB / 279.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.01072, allocations: 180.2 kB / 279.8 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.01078, allocations: 105.2 kB / 279.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.368e-05/0.01086, allocations: 95.27 kB / 280 MB, free: 9.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01086, allocations: 0 / 280 MB, free: 9.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.01117, allocations: 43.88 kB / 280 MB, free: 9.566 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.000467/0.01164, allocations: 241.2 kB / 280.3 MB, free: 9.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.58e-05/0.01171, allocations: 8.266 kB / 280.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01172, allocations: 0 / 280.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.582e-06/0.01172, allocations: 3.984 kB / 280.3 MB, free: 9.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.01219, allocations: 459.7 kB / 280.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.01246, allocations: 176 kB / 280.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.833e-05/0.01253, allocations: 63.28 kB / 281 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.01264, allocations: 11.92 kB / 281 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.01267, allocations: 12.5 kB / 281 MB, free: 8.555 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01267, allocations: 0 / 281 MB, free: 8.555 MB / 266.7 MB Notification: Performance of Templates: time 0.003956/0.01662, allocations: 1.017 MB / 282 MB, free: 7.547 MB / 266.7 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.166174936108291]