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.0007805/0.0007807, allocations: 96.66 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 207.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.0002472, allocations: 8 kB / 308.4 MB, free: 0.8594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 51.52 MB / 359.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0007467/0.1035, allocations: 229.2 kB / 360.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.1058, allocations: 1.459 MB / 361.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.1059, allocations: 0 / 361.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.1059, allocations: 0 / 361.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.1059, allocations: 0 / 361.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006368/0.1066, allocations: 155 kB / 361.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.1066, allocations: 23.91 kB / 361.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.1067, allocations: 4 kB / 361.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.1067, allocations: 7.938 kB / 361.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.1068, allocations: 7.984 kB / 361.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1068, allocations: 0 / 361.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.1071, allocations: 127.8 kB / 361.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.1071, allocations: 4 kB / 361.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.1071, allocations: 33.64 kB / 361.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1073, allocations: 79.88 kB / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1073, allocations: 0 / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1073, allocations: 4 kB / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1073, allocations: 0 / 362 MB, free: 11.21 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.0003663/0.1077, allocations: 347.5 kB / 362.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1078, allocations: 8.031 kB / 362.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1079, allocations: 4.938 kB / 362.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.1081, allocations: 176.6 kB / 362.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1081, allocations: 384 / 362.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1081, allocations: 4.125 kB / 362.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.1082, allocations: 33.7 kB / 362.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1082, allocations: 0 / 362.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1082, allocations: 0 / 362.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1083, allocations: 0 / 362.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.635e-05/0.1083, allocations: 7.938 kB / 362.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1088, allocations: 481 kB / 363.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.1089, allocations: 173.1 kB / 363.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.1089, allocations: 80.14 kB / 363.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.109, allocations: 75.28 kB / 363.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.109, allocations: 109.8 kB / 363.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.109, allocations: 4 kB / 363.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.976e-05/0.1091, allocations: 33.69 kB / 363.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.1092, allocations: 156.4 kB / 363.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1093, allocations: 105.9 kB / 363.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1094, allocations: 25.7 kB / 363.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.1094, allocations: 88.12 kB / 363.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.1095, allocations: 0 / 363.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1095, allocations: 9.719 kB / 363.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1097, allocations: 314.8 kB / 364.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.1097, allocations: 4 kB / 364.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.778e-05/0.1097, allocations: 8 kB / 364.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.1097, allocations: 8.797 kB / 364.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1097, allocations: 0 / 364.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001188/0.1099, allocations: 45.59 kB / 364.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1099, allocations: 4 kB / 364.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1099, allocations: 4 kB / 364.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1099, allocations: 0 / 364.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.11, allocations: 0 / 364.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.11, allocations: 3.938 kB / 364.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.11, allocations: 8.125 kB / 364.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.1101, allocations: 0 / 364.3 MB, free: 8.68 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 0.0001169/0.1102, allocations: 193 kB / 364.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.1103, allocations: 108.9 kB / 364.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.1103, allocations: 108.5 kB / 364.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.56e-05/0.1104, allocations: 184.2 kB / 364.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.435e-05/0.1105, allocations: 180.3 kB / 365 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.512e-05/0.1106, allocations: 180.2 kB / 365.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.1108, allocations: 413.1 kB / 365.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.65e-05/0.1109, allocations: 101 kB / 365.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.1109, allocations: 104.9 kB / 365.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-05/0.111, allocations: 180.3 kB / 366 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.1111, allocations: 184.3 kB / 366.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.022e-05/0.1111, allocations: 188.2 kB / 366.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-05/0.1112, allocations: 176.5 kB / 366.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.1113, allocations: 303.7 kB / 366.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.1114, allocations: 198.1 kB / 367 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.1115, allocations: 184.2 kB / 367.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.1116, allocations: 101 kB / 367.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.1117, allocations: 188.1 kB / 367.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.1118, allocations: 101 kB / 367.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.1118, allocations: 91.27 kB / 367.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1118, allocations: 4 kB / 367.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1121, allocations: 36 kB / 367.7 MB, free: 5.02 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.0004449/0.1126, allocations: 249 kB / 368 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.1127, allocations: 11.92 kB / 368 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1127, allocations: 4.062 kB / 368 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.1127, allocations: 0 / 368 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.1131, allocations: 0.5224 MB / 368.5 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.1133, allocations: 191.9 kB / 368.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1136, allocations: 0.6809 MB / 369.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.1137, allocations: 15.44 kB / 369.4 MB, free: 3.293 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1137, allocations: 0 / 369.4 MB, free: 3.293 MB / 302.1 MB Notification: Performance of Templates: time 0.002819/0.1165, allocations: 1.004 MB / 370.4 MB, free: 2.293 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