Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001739/0.001739, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 205.2 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 230.4 MB / 250 MB, free: 9.004 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 63.84 kB / 367.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2286, allocations: 53.32 MB / 420.6 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001636/0.2302, allocations: 0.4925 MB / 421.1 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.2324, allocations: 1.454 MB / 422.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.2324, allocations: 0 / 422.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.2324, allocations: 0 / 422.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.571e-05/0.2324, allocations: 3.938 kB / 422.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.2331, allocations: 182.5 kB / 422.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.2332, allocations: 23.92 kB / 422.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.2332, allocations: 0 / 422.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.2333, allocations: 7.938 kB / 422.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.2333, allocations: 15.97 kB / 422.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2333, allocations: 0 / 422.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.2336, allocations: 171.8 kB / 423 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.2337, allocations: 3.938 kB / 423 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.2337, allocations: 7.984 kB / 423 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.2339, allocations: 115.6 kB / 423.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2339, allocations: 0 / 423.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2339, allocations: 4 kB / 423.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.2339, allocations: 4 kB / 423.1 MB, free: 5.867 MB / 334.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.0004215/0.2344, allocations: 351.2 kB / 423.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2344, allocations: 12.03 kB / 423.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.2345, allocations: 4.938 kB / 423.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.2347, allocations: 160.4 kB / 423.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2347, allocations: 384 / 423.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.2347, allocations: 4.125 kB / 423.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.841e-05/0.2348, allocations: 45.62 kB / 423.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2348, allocations: 0 / 423.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.2348, allocations: 0 / 423.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2348, allocations: 4 kB / 423.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.2349, allocations: 0 / 423.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.2353, allocations: 481 kB / 424.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.789e-05/0.2354, allocations: 177.1 kB / 424.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.2354, allocations: 80.14 kB / 424.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.2355, allocations: 83.22 kB / 424.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.2355, allocations: 109.8 kB / 424.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.2355, allocations: 0 / 424.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.035e-05/0.2356, allocations: 29.64 kB / 424.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.2357, allocations: 156.4 kB / 424.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2358, allocations: 117.8 kB / 424.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2358, allocations: 25.7 kB / 424.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.2359, allocations: 80.14 kB / 425 MB, free: 3.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.2359, allocations: 4 kB / 425 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.2359, allocations: 21.73 kB / 425 MB, free: 3.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.236, allocations: 318.8 kB / 425.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.2361, allocations: 0 / 425.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.2361, allocations: 8 kB / 425.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/0.2361, allocations: 12.84 kB / 425.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2361, allocations: 0 / 425.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001046/0.2362, allocations: 37.66 kB / 425.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2362, allocations: 4 kB / 425.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.2362, allocations: 0 / 425.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2362, allocations: 0 / 425.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.2363, allocations: 11.94 kB / 425.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2363, allocations: 0 / 425.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.2363, allocations: 4.125 kB / 425.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2363, allocations: 0 / 425.4 MB, free: 3.32 MB / 334.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.0001144/0.2364, allocations: 193 kB / 425.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.2365, allocations: 101 kB / 425.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.2366, allocations: 112.5 kB / 425.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.332e-05/0.2367, allocations: 180.3 kB / 426 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-05/0.2367, allocations: 184.2 kB / 426.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-05/0.2368, allocations: 180.2 kB / 426.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2371, allocations: 409.2 kB / 426.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/0.2371, allocations: 104.9 kB / 426.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.2372, allocations: 105 kB / 426.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.199e-05/0.2372, allocations: 176.3 kB / 427.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.2373, allocations: 184.2 kB / 427.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.335e-05/0.2374, allocations: 180.4 kB / 427.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.826e-05/0.2375, allocations: 188.2 kB / 427.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.2376, allocations: 311.7 kB / 428 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.2377, allocations: 190 kB / 428.2 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.2378, allocations: 180.5 kB / 428.3 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2379, allocations: 112.9 kB / 428.4 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.238, allocations: 180.3 kB / 428.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.238, allocations: 101 kB / 428.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.2381, allocations: 91.27 kB / 428.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2381, allocations: 4 kB / 428.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.2384, allocations: 43.81 kB / 428.8 MB, free: 15.65 MB / 350.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.000419/0.2388, allocations: 261 kB / 429.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.326e-05/0.2389, allocations: 3.984 kB / 429.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.2389, allocations: 4.062 kB / 429.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.2389, allocations: 4 kB / 429.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.2393, allocations: 455.7 kB / 429.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.2395, allocations: 152.3 kB / 429.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.2398, allocations: 0.6768 MB / 430.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.2399, allocations: 19.92 kB / 430.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.2399, allocations: 11.38 kB / 430.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2399, allocations: 0 / 430.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Templates: time 0.003719/0.2436, allocations: 0.9562 MB / 431.4 MB, free: 13.08 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches