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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.88 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.233, allocations: 50.54 MB / 409.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001456/0.2345, allocations: 0.4887 MB / 409.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.2363, allocations: 1.446 MB / 411.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.2363, allocations: 0 / 411.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.2364, allocations: 0 / 411.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.863e-05/0.2364, allocations: 0 / 411.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.237, allocations: 187.1 kB / 411.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.2371, allocations: 19.97 kB / 411.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.2371, allocations: 0 / 411.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.2371, allocations: 11.88 kB / 411.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.2372, allocations: 15.98 kB / 411.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.2372, allocations: 0 / 411.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.2375, allocations: 163.8 kB / 411.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.2375, allocations: 7.969 kB / 411.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.2375, allocations: 19.94 kB / 411.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.2377, allocations: 115.8 kB / 411.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2378, allocations: 0 / 411.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2378, allocations: 0 / 411.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2378, allocations: 4 kB / 411.7 MB, free: 15.25 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.0003062/0.2381, allocations: 344.7 kB / 412 MB, free: 14.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2381, allocations: 12.03 kB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.2383, allocations: 4.938 kB / 412.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.457e-05/0.2384, allocations: 164.3 kB / 412.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2384, allocations: 4.375 kB / 412.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.2384, allocations: 4.125 kB / 412.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.539e-05/0.2385, allocations: 33.69 kB / 412.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.2385, allocations: 0 / 412.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2385, allocations: 4 kB / 412.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2385, allocations: 7.938 kB / 412.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.994e-05/0.2386, allocations: 0 / 412.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.239, allocations: 485 kB / 412.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.239, allocations: 165.1 kB / 412.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.2391, allocations: 80.14 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2391, allocations: 79.28 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.2392, allocations: 109.8 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/0.2392, allocations: 4 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.583e-05/0.2392, allocations: 29.61 kB / 413.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.2393, allocations: 160.4 kB / 413.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.2394, allocations: 109.8 kB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2394, allocations: 25.7 kB / 413.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.2395, allocations: 80.14 kB / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.2395, allocations: 0 / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.2395, allocations: 29.73 kB / 413.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.2396, allocations: 318.8 kB / 413.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.2396, allocations: 0 / 413.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.2397, allocations: 7.984 kB / 413.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.366e-05/0.2397, allocations: 12.8 kB / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2397, allocations: 0 / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000103/0.2398, allocations: 37.7 kB / 414 MB, free: 12.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2398, allocations: 4 kB / 414 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2398, allocations: 0 / 414 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2398, allocations: 4.125 kB / 414 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.2399, allocations: 4 kB / 414 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.2399, allocations: 0 / 414 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.2399, allocations: 3.906 kB / 414 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.24, allocations: 7.969 kB / 414 MB, free: 12.71 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 8.433e-05/0.2401, allocations: 193 kB / 414.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.2401, allocations: 104.9 kB / 414.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.2402, allocations: 112.5 kB / 414.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-05/0.2402, allocations: 184.2 kB / 414.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.102e-05/0.2403, allocations: 180.2 kB / 414.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-05/0.2403, allocations: 176.3 kB / 414.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.2405, allocations: 413.1 kB / 415.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.33e-05/0.2406, allocations: 101 kB / 415.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.2406, allocations: 112.9 kB / 415.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.067e-05/0.2407, allocations: 176.3 kB / 415.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.2407, allocations: 176.3 kB / 415.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.175e-05/0.2408, allocations: 188.6 kB / 416.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.682e-05/0.2408, allocations: 184.3 kB / 416.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.241, allocations: 311.7 kB / 416.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.241, allocations: 186.1 kB / 416.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.2411, allocations: 184.2 kB / 416.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.2412, allocations: 108.9 kB / 417 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.2413, allocations: 180.2 kB / 417.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.2413, allocations: 108.9 kB / 417.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.036e-05/0.2414, allocations: 91.27 kB / 417.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2414, allocations: 0 / 417.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.2416, allocations: 44 kB / 417.4 MB, free: 9.039 MB / 334.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.0003483/0.242, allocations: 241.6 kB / 417.7 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.16e-05/0.2421, allocations: 11.92 kB / 417.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2421, allocations: 0 / 417.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.2421, allocations: 0 / 417.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.2424, allocations: 463.6 kB / 418.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.2426, allocations: 164.3 kB / 418.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.2428, allocations: 0.6768 MB / 419 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.253e-05/0.2429, allocations: 11.98 kB / 419 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.2429, allocations: 7.438 kB / 419 MB, free: 7.422 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2429, allocations: 0 / 419 MB, free: 7.422 MB / 334.1 MB Notification: Performance of Templates: time 0.003072/0.246, allocations: 0.9591 MB / 419.9 MB, free: 6.469 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches