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.0007698/0.0007698, allocations: 94.42 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008855/0.0008855, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08567/0.086, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0005104/0.08656, allocations: 226 kB / 358.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.08811, allocations: 1.403 MB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.08814, allocations: 0 / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.247e-06/0.08816, allocations: 4 kB / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.766e-05/0.08819, allocations: 0 / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.08869, allocations: 143.3 kB / 360.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.638e-05/0.08873, allocations: 11.98 kB / 360.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.08877, allocations: 4 kB / 360.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.08881, allocations: 7.938 kB / 360.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.08888, allocations: 15.97 kB / 360.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.0889, allocations: 4 kB / 360.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.08908, allocations: 115.4 kB / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.0891, allocations: 0 / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.08913, allocations: 33.64 kB / 360.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.08927, allocations: 79.89 kB / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.08928, allocations: 0 / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08929, allocations: 0 / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.0893, allocations: 0 / 360.7 MB, free: 11.39 MB / 302.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.0002647/0.08957, allocations: 339.3 kB / 361 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.0896, allocations: 8.031 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.08973, allocations: 8 kB / 361 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.99e-05/0.08984, allocations: 163.3 kB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.08986, allocations: 4 kB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.08987, allocations: 0 / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/0.08996, allocations: 33.66 kB / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.08997, allocations: 0 / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.08998, allocations: 0 / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.08999, allocations: 3.938 kB / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.09002, allocations: 8 kB / 361.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.09039, allocations: 472.9 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/0.09047, allocations: 181.1 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.09051, allocations: 80.14 kB / 361.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.09053, allocations: 79.28 kB / 362 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.09058, allocations: 105.8 kB / 362.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.09059, allocations: 0 / 362.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.515e-05/0.09066, allocations: 41.53 kB / 362.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.09073, allocations: 156.4 kB / 362.3 MB, free: 9.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.09082, allocations: 105.9 kB / 362.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.09084, allocations: 25.7 kB / 362.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.09089, allocations: 92.12 kB / 362.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.0909, allocations: 3.984 kB / 362.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.09091, allocations: 0 / 362.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.091, allocations: 314.8 kB / 362.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.09102, allocations: 4 kB / 362.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.328e-05/0.09104, allocations: 0 / 362.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.807e-05/0.09106, allocations: 4 kB / 362.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.09107, allocations: 0 / 362.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.315e-05/0.09117, allocations: 49.67 kB / 362.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.09119, allocations: 4 kB / 362.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.09119, allocations: 0 / 362.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.09121, allocations: 0 / 362.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.09125, allocations: 4.25 kB / 362.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.09126, allocations: 0 / 362.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.0913, allocations: 7.906 kB / 362.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.09132, allocations: 4 kB / 362.9 MB, free: 8.887 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/0.09141, allocations: 185.1 kB / 363.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.09148, allocations: 113 kB / 363.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.09153, allocations: 112.5 kB / 363.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.775e-05/0.09159, allocations: 176.3 kB / 363.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.248e-05/0.09164, allocations: 184.2 kB / 363.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-05/0.0917, allocations: 180.3 kB / 363.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.0919, allocations: 401.2 kB / 364.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/0.09194, allocations: 116.9 kB / 364.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.09198, allocations: 109 kB / 364.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.822e-05/0.09203, allocations: 180.2 kB / 364.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.09208, allocations: 180.2 kB / 364.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.751e-05/0.09213, allocations: 180.3 kB / 365 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.591e-05/0.09219, allocations: 184.2 kB / 365.2 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.0923, allocations: 307.8 kB / 365.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.09236, allocations: 178.1 kB / 365.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.09243, allocations: 184.2 kB / 365.8 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.09252, allocations: 116.9 kB / 365.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.09258, allocations: 180.2 kB / 366.1 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.09262, allocations: 104.9 kB / 366.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.437e-05/0.09267, allocations: 91.27 kB / 366.3 MB, free: 5.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09267, allocations: 0 / 366.3 MB, free: 5.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.09295, allocations: 40 kB / 366.3 MB, free: 5.23 MB / 302.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 (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.000339/0.09329, allocations: 249.8 kB / 366.6 MB, free: 4.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.593e-05/0.09336, allocations: 4 kB / 366.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.09337, allocations: 0 / 366.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.09338, allocations: 0 / 366.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.09372, allocations: 0.5287 MB / 367.1 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001643/0.09389, allocations: 170.2 kB / 367.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.09409, allocations: 0.6809 MB / 368 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.451e-05/0.09416, allocations: 11.97 kB / 368 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.09418, allocations: 15.44 kB / 368 MB, free: 3.527 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09418, allocations: 0 / 368 MB, free: 3.527 MB / 302.1 MB Notification: Performance of Templates: time 0.002894/0.09708, allocations: 0.9309 MB / 368.9 MB, free: 2.602 MB / 302.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