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.00117/0.00117, allocations: 114 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 213.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 71.86 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2962, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001722/0.298, allocations: 0.507 MB / 410.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3, allocations: 1.434 MB / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.3, allocations: 0 / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.3001, allocations: 0 / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.091e-05/0.3001, allocations: 3.938 kB / 411.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.3008, allocations: 187.1 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.3008, allocations: 15.92 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.3009, allocations: 0 / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.3009, allocations: 7.938 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.636e-05/0.301, allocations: 19.97 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.301, allocations: 0 / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.3013, allocations: 171.8 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.3013, allocations: 0 / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.3014, allocations: 11.94 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.3016, allocations: 119.8 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3016, allocations: 0 / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3016, allocations: 0 / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3016, allocations: 0 / 412.4 MB, free: 15.13 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.0004091/0.302, allocations: 347.3 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3021, allocations: 12.03 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.3022, allocations: 8.922 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3024, allocations: 164.4 kB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.3024, allocations: 384 / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3024, allocations: 8.062 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.3025, allocations: 37.69 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.3026, allocations: 0 / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3026, allocations: 0 / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3026, allocations: 0 / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/0.3026, allocations: 7.938 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.3031, allocations: 481 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.799e-05/0.3032, allocations: 173.1 kB / 413.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.3032, allocations: 80.14 kB / 413.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.3033, allocations: 75.28 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.3033, allocations: 113.8 kB / 413.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3033, allocations: 0 / 413.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.079e-05/0.3034, allocations: 29.61 kB / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/0.3035, allocations: 156.3 kB / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3036, allocations: 117.8 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3037, allocations: 25.7 kB / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.3037, allocations: 80.14 kB / 414.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.3037, allocations: 0 / 414.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.3038, allocations: 33.73 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3039, allocations: 314.8 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.3039, allocations: 0 / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.304, allocations: 4 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.304, allocations: 8.859 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.304, allocations: 0 / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001209/0.3041, allocations: 37.69 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3041, allocations: 11.09 kB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3042, allocations: 4 kB / 414.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3042, allocations: 3.938 kB / 414.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.376e-05/0.3042, allocations: 4 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3042, allocations: 3.984 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.3043, allocations: 3.906 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3043, allocations: 3.984 kB / 414.7 MB, free: 12.58 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.0001124/0.3044, allocations: 193 kB / 414.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.3045, allocations: 105 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.3046, allocations: 120.5 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-05/0.3046, allocations: 176.3 kB / 415.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.932e-05/0.3047, allocations: 176.3 kB / 415.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001305/0.3049, allocations: 180.2 kB / 415.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.3052, allocations: 409.2 kB / 416 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/0.3052, allocations: 112.9 kB / 416.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.3053, allocations: 105 kB / 416.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-05/0.3053, allocations: 176.3 kB / 416.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.3055, allocations: 180.2 kB / 416.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001136/0.3056, allocations: 180.7 kB / 416.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001286/0.3057, allocations: 196.2 kB / 416.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.3059, allocations: 303.8 kB / 417.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.666e-05/0.3059, allocations: 186 kB / 417.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.249e-05/0.306, allocations: 188.2 kB / 417.6 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3061, allocations: 108.9 kB / 417.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.3062, allocations: 184.2 kB / 417.9 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.3063, allocations: 101 kB / 418 MB, free: 9.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.3063, allocations: 91.27 kB / 418.1 MB, free: 8.953 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3063, allocations: 3.938 kB / 418.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.3067, allocations: 40 kB / 418.1 MB, free: 8.91 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.0004363/0.3071, allocations: 239.9 kB / 418.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.514e-05/0.3072, allocations: 4 kB / 418.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3072, allocations: 0 / 418.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3072, allocations: 0 / 418.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.3076, allocations: 471.2 kB / 418.8 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.3079, allocations: 190 kB / 419 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3082, allocations: 0.6768 MB / 419.7 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.3082, allocations: 15.38 kB / 419.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3082, allocations: 0 / 419.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of Templates: time 0.00291/0.3111, allocations: 1.014 MB / 420.7 MB, free: 6.266 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/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