Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009437/0.0009438, allocations: 192 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 226.6 MB / 244.7 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00078/0.0007801, allocations: 96.03 kB / 296.8 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002168/0.0002169, allocations: 15.98 kB / 356.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1949, allocations: 51.3 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0004603/0.1954, allocations: 231.7 kB / 408.3 MB, free: 27.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1966, allocations: 1.388 MB / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.1966, allocations: 0 / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.077e-06/0.1966, allocations: 0 / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.1967, allocations: 0 / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.1971, allocations: 149.3 kB / 409.8 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.944e-05/0.1972, allocations: 9.781 kB / 409.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.1972, allocations: 3.984 kB / 409.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.1973, allocations: 11.94 kB / 409.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.1973, allocations: 8 kB / 409.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1974, allocations: 4.656 kB / 409.8 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1975, allocations: 112.9 kB / 409.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.1975, allocations: 8.641 kB / 410 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.1976, allocations: 33.62 kB / 410 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.1977, allocations: 80.42 kB / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1977, allocations: 0.8438 kB / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1977, allocations: 0 / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1977, allocations: 3.938 kB / 410.1 MB, free: 25.66 MB / 298.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.0002143/0.1979, allocations: 346 kB / 410.4 MB, free: 25.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.198, allocations: 8.031 kB / 410.4 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.1981, allocations: 4.938 kB / 410.4 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.673e-05/0.1982, allocations: 160.4 kB / 410.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.1982, allocations: 1.188 kB / 410.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.1982, allocations: 8.125 kB / 410.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.113e-05/0.1983, allocations: 40.19 kB / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1983, allocations: 0 / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1983, allocations: 4 kB / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1983, allocations: 0 / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.885e-05/0.1983, allocations: 4 kB / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.1987, allocations: 473.5 kB / 411.1 MB, free: 24.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.915e-05/0.1987, allocations: 169.2 kB / 411.3 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.1988, allocations: 84.08 kB / 411.3 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.1988, allocations: 75.28 kB / 411.4 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1988, allocations: 109.9 kB / 411.5 MB, free: 24.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1988, allocations: 0.5 kB / 411.5 MB, free: 24.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.316e-05/0.1989, allocations: 41.61 kB / 411.6 MB, free: 23.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.1989, allocations: 152.4 kB / 411.7 MB, free: 23.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.199, allocations: 105.8 kB / 411.8 MB, free: 23.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.199, allocations: 25.7 kB / 411.8 MB, free: 23.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.1991, allocations: 89.12 kB / 411.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.1991, allocations: 0 / 411.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.1991, allocations: 0 / 411.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.1991, allocations: 318.8 kB / 412.2 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.1991, allocations: 4 kB / 412.2 MB, free: 23.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.1992, allocations: 7.938 kB / 412.3 MB, free: 23.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.1992, allocations: 12.86 kB / 412.3 MB, free: 23.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1992, allocations: 0 / 412.3 MB, free: 23.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.424e-05/0.1993, allocations: 33.7 kB / 412.3 MB, free: 23.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1993, allocations: 11.92 kB / 412.3 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1993, allocations: 0 / 412.3 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1993, allocations: 0 / 412.3 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-05/0.1994, allocations: 4 kB / 412.3 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1994, allocations: 8.062 kB / 412.3 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.1994, allocations: 0 / 412.3 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1995, allocations: 0 / 412.3 MB, free: 23.18 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.1995, allocations: 193 kB / 412.5 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.1996, allocations: 108.9 kB / 412.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.1996, allocations: 112.5 kB / 412.7 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.1996, allocations: 184.2 kB / 412.9 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.1997, allocations: 176.3 kB / 413.1 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.1997, allocations: 184.2 kB / 413.3 MB, free: 22.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.1998, allocations: 405.2 kB / 413.7 MB, free: 21.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.1998, allocations: 105.2 kB / 413.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.1999, allocations: 108.9 kB / 413.9 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.186e-05/0.1999, allocations: 184.3 kB / 414 MB, free: 21.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.1999, allocations: 184.2 kB / 414.2 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.578e-05/0.2, allocations: 180.3 kB / 414.4 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-05/0.2, allocations: 176.3 kB / 414.6 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.837e-05/0.2001, allocations: 315.7 kB / 414.9 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.2001, allocations: 190 kB / 415.1 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.2001, allocations: 180.3 kB / 415.2 MB, free: 20.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.2002, allocations: 105 kB / 415.3 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.2002, allocations: 180.2 kB / 415.5 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.2003, allocations: 101 kB / 415.6 MB, free: 19.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.913e-05/0.2003, allocations: 95.27 kB / 415.7 MB, free: 19.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2003, allocations: 0 / 415.7 MB, free: 19.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.2006, allocations: 40 kB / 415.8 MB, free: 19.51 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000365/0.201, allocations: 246.8 kB / 416 MB, free: 19.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.955e-05/0.201, allocations: 11.94 kB / 416 MB, free: 19.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2011, allocations: 3.938 kB / 416 MB, free: 19.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/0.2011, allocations: 8 kB / 416 MB, free: 19.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.2013, allocations: 0.517 MB / 416.5 MB, free: 18.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001439/0.2015, allocations: 191.8 kB / 416.7 MB, free: 18.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.128e-05/0.2016, allocations: 0.677 MB / 417.4 MB, free: 17.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/0.2016, allocations: 7.438 kB / 417.4 MB, free: 17.8 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2016, allocations: 0 / 417.4 MB, free: 17.8 MB / 298.7 MB Notification: Performance of Templates: time 0.001945/0.2035, allocations: 1.02 MB / 418.4 MB, free: 16.79 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches