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.0008277/0.0008277, allocations: 80.11 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.001968, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000709/0.000709, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009265/0.001636, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9651/0.9651, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09297/1.058, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.172e-06/1.172e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.472e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0009789/0.0009936, allocations: 0.5634 MB / 245.6 MB, free: 13.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.002193, allocations: 1.452 MB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.002209, allocations: 0 / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.13e-06/0.002214, allocations: 3.938 kB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.417e-06/0.002223, allocations: 7.938 kB / 247 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.002586, allocations: 155.5 kB / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.281e-05/0.002639, allocations: 15.94 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.00268, allocations: 8 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.002739, allocations: 19.97 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.002794, allocations: 11.92 kB / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.002808, allocations: 0 / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.003036, allocations: 175.7 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.003046, allocations: 4 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.048e-05/0.003057, allocations: 0 / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.003227, allocations: 131.6 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.003241, allocations: 3.984 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003242, allocations: 0 / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.003253, allocations: 4 kB / 247.5 MB, free: 11.11 MB / 250.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.0002573/0.003511, allocations: 264.4 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.003537, allocations: 12.62 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.003682, allocations: 82.05 kB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.292e-05/0.003754, allocations: 109.8 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.003762, allocations: 384 / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.003769, allocations: 384 / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.351e-05/0.003843, allocations: 59.97 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.003851, allocations: 3.938 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.003857, allocations: 0 / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.003862, allocations: 0 / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.224e-05/0.003874, allocations: 7.938 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.004181, allocations: 320 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.004235, allocations: 173.1 kB / 248.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.004254, allocations: 84.12 kB / 248.6 MB, free: 9.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.00427, allocations: 75.28 kB / 248.7 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.004304, allocations: 117.7 kB / 248.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 6.22e-07/0.004305, allocations: 0 / 248.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.228e-05/0.004347, allocations: 25.7 kB / 248.9 MB, free: 9.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.004385, allocations: 126.7 kB / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.004448, allocations: 126.7 kB / 249.1 MB, free: 9.406 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.004462, allocations: 25.7 kB / 249.1 MB, free: 9.375 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.004497, allocations: 92.02 kB / 249.2 MB, free: 9.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.004498, allocations: 0 / 249.2 MB, free: 9.281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.004524, allocations: 21.7 kB / 249.2 MB, free: 9.254 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.004593, allocations: 310.8 kB / 249.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-06/0.004599, allocations: 0 / 249.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.004616, allocations: 29.7 kB / 249.6 MB, free: 8.906 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.896e-05/0.004635, allocations: 8.797 kB / 249.6 MB, free: 8.895 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004637, allocations: 0 / 249.6 MB, free: 8.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.208e-05/0.004689, allocations: 45.72 kB / 249.6 MB, free: 8.844 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.138e-06/0.004698, allocations: 4 kB / 249.6 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004702, allocations: 0 / 249.6 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.66e-06/0.004708, allocations: 0 / 249.6 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-05/0.004744, allocations: 4 kB / 249.6 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.004747, allocations: 0 / 249.6 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.004767, allocations: 0 / 249.6 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.004773, allocations: 4 kB / 249.6 MB, free: 8.832 MB / 250.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 5.714e-05/0.004831, allocations: 185.1 kB / 249.8 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.004868, allocations: 120.8 kB / 249.9 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.004898, allocations: 108.5 kB / 250 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/0.004934, allocations: 184.2 kB / 250.2 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.494e-05/0.004968, allocations: 176.3 kB / 250.4 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-05/0.005007, allocations: 184.2 kB / 250.6 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.005118, allocations: 321.4 kB / 250.9 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/0.005142, allocations: 105 kB / 251 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.005166, allocations: 104.9 kB / 251.1 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.005193, allocations: 109 kB / 251.2 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.13e-05/0.005235, allocations: 184.2 kB / 251.4 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.005272, allocations: 184.1 kB / 251.6 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.644e-05/0.005309, allocations: 176.3 kB / 251.7 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.061e-05/0.005349, allocations: 188.2 kB / 251.9 MB, free: 6.434 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.513e-05/0.005435, allocations: 304.1 kB / 252.2 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.00548, allocations: 188.2 kB / 252.4 MB, free: 5.922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.005542, allocations: 104.9 kB / 252.5 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.005588, allocations: 184.2 kB / 252.7 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.00561, allocations: 105.2 kB / 252.8 MB, free: 5.516 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.751e-05/0.005628, allocations: 16.84 kB / 252.8 MB, free: 5.496 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005628, allocations: 0 / 252.8 MB, free: 5.496 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001544/0.005782, allocations: 43.92 kB / 252.8 MB, free: 5.453 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.0002968/0.006079, allocations: 242.1 kB / 253.1 MB, free: 5.215 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.659e-05/0.006126, allocations: 16.8 kB / 253.1 MB, free: 5.195 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.00613, allocations: 0 / 253.1 MB, free: 5.195 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.006131, allocations: 0 / 253.1 MB, free: 5.195 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.006452, allocations: 466 kB / 253.5 MB, free: 4.742 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001435/0.006596, allocations: 179.8 kB / 253.7 MB, free: 4.539 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.48e-05/0.00662, allocations: 51.36 kB / 253.8 MB, free: 4.469 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.006666, allocations: 23.97 kB / 253.8 MB, free: 4.445 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.006719, allocations: 55.36 kB / 253.8 MB, free: 4.391 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006719, allocations: 0 / 253.8 MB, free: 4.391 MB / 250.7 MB Notification: Performance of Templates: time 0.002463/0.009182, allocations: 1.134 MB / 255 MB, free: 3.258 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] 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","",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.3752719732001424]