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.001352/0.001352, allocations: 82.7 kB / 22 MB, free: 5.18 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.001398/0.001398, allocations: 161.8 kB / 25.25 MB, free: 3.02 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.299/1.299, allocations: 158.6 MB / 187 MB, free: 6.477 MB / 174.1 MB " [Timeout remaining time 179] 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.002546/0.002546, allocations: 62.42 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2286, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003628/0.2322, allocations: 2.129 MB / 350.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2336, allocations: 0.72 MB / 351.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.2336, allocations: 4 kB / 351.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.563e-05/0.2337, allocations: 7.938 kB / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.579e-05/0.2338, allocations: 0 / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.2344, allocations: 207.3 kB / 351.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.064e-05/0.2345, allocations: 23.91 kB / 351.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.2345, allocations: 8 kB / 351.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.2345, allocations: 19.92 kB / 351.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.2346, allocations: 7.938 kB / 351.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2346, allocations: 0 / 351.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.2349, allocations: 175.7 kB / 351.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.2349, allocations: 4 kB / 351.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.235, allocations: 11.92 kB / 351.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.2352, allocations: 119.5 kB / 351.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2352, allocations: 3.938 kB / 351.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2352, allocations: 0 / 351.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2352, allocations: 3.938 kB / 351.9 MB, free: 12.07 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.0003668/0.2356, allocations: 284.8 kB / 352.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2356, allocations: 15.98 kB / 352.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.2356, allocations: 8.891 kB / 352.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2358, allocations: 106.5 kB / 352.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2358, allocations: 4.375 kB / 352.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.2358, allocations: 4.359 kB / 352.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.2359, allocations: 63.72 kB / 352.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2359, allocations: 0 / 352.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2359, allocations: 3.984 kB / 352.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2359, allocations: 0 / 352.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.992e-05/0.2359, allocations: 8 kB / 352.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.2363, allocations: 351.6 kB / 352.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2364, allocations: 169.1 kB / 352.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.2364, allocations: 84.14 kB / 353 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.2365, allocations: 75.28 kB / 353.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.2365, allocations: 109.8 kB / 353.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2365, allocations: 0 / 353.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 8.395e-05/0.2366, allocations: 41.59 kB / 353.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.2367, allocations: 152.4 kB / 353.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2368, allocations: 121.8 kB / 353.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2368, allocations: 29.7 kB / 353.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.2369, allocations: 88.12 kB / 353.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.2369, allocations: 0 / 353.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.2369, allocations: 13.72 kB / 353.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2371, allocations: 318.8 kB / 353.9 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.2371, allocations: 0 / 353.9 MB, free: 9.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.2371, allocations: 33.7 kB / 354 MB, free: 9.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.2371, allocations: 8.859 kB / 354 MB, free: 9.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2371, allocations: 0 / 354 MB, free: 9.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001134/0.2373, allocations: 61.55 kB / 354 MB, free: 9.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2373, allocations: 8 kB / 354.1 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.2373, allocations: 0 / 354.1 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2373, allocations: 0 / 354.1 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.166e-05/0.2373, allocations: 0 / 354.1 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2373, allocations: 4 kB / 354.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.2374, allocations: 7.875 kB / 354.1 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.2374, allocations: 0 / 354.1 MB, free: 9.75 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 0.0001196/0.2375, allocations: 189.1 kB / 354.3 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.2376, allocations: 105 kB / 354.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.2377, allocations: 112.4 kB / 354.5 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.147e-05/0.2377, allocations: 184.3 kB / 354.6 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.705e-05/0.2378, allocations: 180.2 kB / 354.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.559e-05/0.2379, allocations: 188.3 kB / 355 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.2381, allocations: 356.8 kB / 355.4 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.327e-05/0.2382, allocations: 104.9 kB / 355.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.2382, allocations: 109 kB / 355.6 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.43e-05/0.2383, allocations: 180.2 kB / 355.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/0.2384, allocations: 176.3 kB / 355.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.929e-05/0.2385, allocations: 184.2 kB / 356.1 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.889e-05/0.2386, allocations: 184.3 kB / 356.3 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.2388, allocations: 311.7 kB / 356.6 MB, free: 7.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.2388, allocations: 108.9 kB / 356.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.2389, allocations: 184.2 kB / 356.9 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.239, allocations: 109 kB / 357 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.2391, allocations: 176.3 kB / 357.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.2392, allocations: 104.9 kB / 357.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.124e-05/0.2392, allocations: 95.27 kB / 357.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2392, allocations: 0 / 357.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.2395, allocations: 39.94 kB / 357.4 MB, free: 6.246 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.0004951/0.24, allocations: 270 kB / 357.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.2401, allocations: 8 kB / 357.6 MB, free: 5.965 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2401, allocations: 3.938 kB / 357.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.44e-06/0.2401, allocations: 7.938 kB / 357.7 MB, free: 5.953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2405, allocations: 463.7 kB / 358.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.2407, allocations: 176.1 kB / 358.3 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.09e-05/0.2408, allocations: 55.36 kB / 358.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.197e-05/0.2408, allocations: 7.984 kB / 358.3 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.2408, allocations: 12.5 kB / 358.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2408, allocations: 0 / 358.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of Templates: time 0.004093/0.2449, allocations: 1.124 MB / 359.5 MB, free: 4.078 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 -s ida -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: 4.128951348015107]