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.001188/0.001188, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 64.02 kB / 306.9 MB, free: 1.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.1007, allocations: 50.54 MB / 357.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001932/0.1027, allocations: 0.5471 MB / 358 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.1047, allocations: 1.474 MB / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.1048, allocations: 0 / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.1049, allocations: 3.938 kB / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.516e-05/0.1049, allocations: 0 / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.1055, allocations: 147.2 kB / 359.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.625e-05/0.1055, allocations: 12 kB / 359.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.1056, allocations: 4 kB / 359.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.1056, allocations: 11.92 kB / 359.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.1057, allocations: 11.98 kB / 359.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1057, allocations: 0 / 359.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.106, allocations: 127.8 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.106, allocations: 3.984 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.106, allocations: 7.938 kB / 359.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1062, allocations: 75.89 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1062, allocations: 0 / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1062, allocations: 0 / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1062, allocations: 0 / 359.9 MB, free: 12.05 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.0003739/0.1066, allocations: 355.4 kB / 360.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1067, allocations: 8.031 kB / 360.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.1068, allocations: 4.938 kB / 360.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.107, allocations: 180.6 kB / 360.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.107, allocations: 384 / 360.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.107, allocations: 8.062 kB / 360.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1071, allocations: 33.69 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1071, allocations: 0 / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1071, allocations: 0 / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1071, allocations: 0 / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.1072, allocations: 4 kB / 360.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.1076, allocations: 484.9 kB / 360.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.497e-05/0.1077, allocations: 173.1 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.1077, allocations: 80.14 kB / 361.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1078, allocations: 79.27 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.1078, allocations: 109.8 kB / 361.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.1078, allocations: 4 kB / 361.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.136e-05/0.1079, allocations: 25.7 kB / 361.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.108, allocations: 156.3 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1081, allocations: 113.8 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1081, allocations: 25.7 kB / 361.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.1082, allocations: 88.03 kB / 361.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/0.1082, allocations: 0 / 361.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.1082, allocations: 25.7 kB / 361.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1083, allocations: 314.8 kB / 362.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.1084, allocations: 4 kB / 362.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.1084, allocations: 4 kB / 362.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.1084, allocations: 4.859 kB / 362.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1084, allocations: 0 / 362.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001106/0.1085, allocations: 41.69 kB / 362.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1086, allocations: 4.125 kB / 362.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1086, allocations: 11.94 kB / 362.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1086, allocations: 0 / 362.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.1086, allocations: 0 / 362.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1087, allocations: 0 / 362.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.1087, allocations: 7.938 kB / 362.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1087, allocations: 0 / 362.2 MB, free: 9.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.761e-05/0.1088, allocations: 189 kB / 362.3 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.1089, allocations: 109 kB / 362.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.1089, allocations: 112.5 kB / 362.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.19e-05/0.109, allocations: 184.3 kB / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.182e-05/0.1091, allocations: 176.3 kB / 362.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.03e-05/0.1091, allocations: 184.2 kB / 363.1 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1094, allocations: 409.2 kB / 363.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-05/0.1094, allocations: 108.9 kB / 363.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.1094, allocations: 101 kB / 363.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.975e-05/0.1095, allocations: 184.5 kB / 363.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.1096, allocations: 180.2 kB / 364 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.572e-05/0.1096, allocations: 180.3 kB / 364.2 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.593e-05/0.1097, allocations: 188.2 kB / 364.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.1098, allocations: 303.8 kB / 364.7 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.1099, allocations: 189.9 kB / 364.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.11, allocations: 184.2 kB / 365.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.1101, allocations: 108.9 kB / 365.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.1102, allocations: 184.3 kB / 365.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.1102, allocations: 101 kB / 365.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.97e-05/0.1103, allocations: 91.2 kB / 365.5 MB, free: 5.879 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1103, allocations: 4 kB / 365.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1106, allocations: 32 kB / 365.6 MB, free: 5.844 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 (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.0004321/0.111, allocations: 263 kB / 365.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.789e-05/0.1111, allocations: 4 kB / 365.8 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1111, allocations: 0 / 365.8 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.1111, allocations: 336 / 365.8 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1115, allocations: 0.5341 MB / 366.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.1117, allocations: 187.7 kB / 366.6 MB, free: 4.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.1119, allocations: 0.677 MB / 367.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.112, allocations: 11.44 kB / 367.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.112, allocations: 0 / 367.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of Templates: time 0.002752/0.1147, allocations: 1.008 MB / 368.3 MB, free: 3.117 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/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