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.001968/0.001968, allocations: 111.9 kB / 21.93 MB, free: 5.223 MB / 14.72 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.001776/0.001776, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 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 1.531/1.531, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 66.45 kB / 348.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2766, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003733/0.2803, allocations: 2.128 MB / 399.7 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2816, allocations: 0.7257 MB / 400.4 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.2816, allocations: 3.938 kB / 400.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.722e-05/0.2817, allocations: 8.062 kB / 400.5 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2818, allocations: 6.281 kB / 400.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000709/0.2825, allocations: 217.5 kB / 400.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.2826, allocations: 15.77 kB / 400.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.2826, allocations: 6.719 kB / 400.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.647e-05/0.2827, allocations: 11.06 kB / 400.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.2828, allocations: 16.89 kB / 400.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.2828, allocations: 1.094 kB / 400.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.2831, allocations: 169.6 kB / 400.9 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.2831, allocations: 6.578 kB / 400.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.2831, allocations: 7.031 kB / 400.9 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.2834, allocations: 132.1 kB / 401 MB, free: 7.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2834, allocations: 0 / 401 MB, free: 7.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2835, allocations: 1.469 kB / 401 MB, free: 7.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.2835, allocations: 0 / 401 MB, free: 7.242 MB / 318.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.0003415/0.2838, allocations: 277.2 kB / 401.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2838, allocations: 17.88 kB / 401.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.2839, allocations: 6.016 kB / 401.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.284, allocations: 107.9 kB / 401.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.284, allocations: 1.172 kB / 401.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.284, allocations: 5.438 kB / 401.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.2841, allocations: 69.98 kB / 401.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2841, allocations: 0 / 401.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2841, allocations: 1.094 kB / 401.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2841, allocations: 0.7031 kB / 401.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.2842, allocations: 9.016 kB / 401.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.2844, allocations: 344.9 kB / 401.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.47e-05/0.2845, allocations: 175.5 kB / 402 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.2845, allocations: 84.08 kB / 402.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2845, allocations: 81.12 kB / 402.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.2845, allocations: 107.7 kB / 402.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2845, allocations: 1.219 kB / 402.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.525e-05/0.2846, allocations: 35.59 kB / 402.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.2847, allocations: 153.5 kB / 402.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.2848, allocations: 122 kB / 402.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.2848, allocations: 25.7 kB / 402.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.2848, allocations: 86.89 kB / 402.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.2848, allocations: 1.188 kB / 402.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.2848, allocations: 14.88 kB / 402.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.2849, allocations: 317.4 kB / 403 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.2849, allocations: 6.859 kB / 403 MB, free: 5.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.2849, allocations: 30.72 kB / 403.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.2849, allocations: 17.06 kB / 403.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2849, allocations: 0 / 403.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001163/0.2851, allocations: 44.72 kB / 403.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2851, allocations: 6.281 kB / 403.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2851, allocations: 0 / 403.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2851, allocations: 3.938 kB / 403.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.2852, allocations: 3.094 kB / 403.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2852, allocations: 4.125 kB / 403.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.2852, allocations: 6.031 kB / 403.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.2852, allocations: 1.844 kB / 403.2 MB, free: 5.07 MB / 318.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 6.638e-05/0.2853, allocations: 188.2 kB / 403.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.2853, allocations: 107.8 kB / 403.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.2854, allocations: 112.2 kB / 403.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.2854, allocations: 178.8 kB / 403.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-05/0.2854, allocations: 178.2 kB / 403.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.81e-05/0.2854, allocations: 186.2 kB / 404.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.2856, allocations: 360.2 kB / 404.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/0.2856, allocations: 114.9 kB / 404.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.2857, allocations: 102.9 kB / 404.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.601e-05/0.2857, allocations: 182.2 kB / 404.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.2857, allocations: 182.8 kB / 405 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.515e-05/0.2858, allocations: 178.6 kB / 405.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.362e-05/0.2858, allocations: 186.1 kB / 405.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.506e-05/0.2859, allocations: 307.2 kB / 405.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.2859, allocations: 112.5 kB / 405.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.286, allocations: 178.8 kB / 405.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.2861, allocations: 107.1 kB / 406.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.2861, allocations: 182.9 kB / 406.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.2861, allocations: 107 kB / 406.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.2862, allocations: 92.22 kB / 406.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2862, allocations: 3.938 kB / 406.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000363/0.2865, allocations: 38.08 kB / 406.5 MB, free: 1.66 MB / 318.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.0005907/0.2871, allocations: 268.2 kB / 406.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.15e-05/0.2872, allocations: 5.062 kB / 406.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2872, allocations: 0 / 406.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.2872, allocations: 1.406 kB / 406.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2875, allocations: 467.1 kB / 407.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.2877, allocations: 204 kB / 407.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.2878, allocations: 58.36 kB / 407.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.2878, allocations: 19.27 kB / 407.5 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2878, allocations: 0 / 407.5 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of Templates: time 0.003793/0.2916, allocations: 1.123 MB / 408.6 MB, free: 0.5898 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.2685342389158905]