Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 98.53 kB / 17 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 198.2 kB / 17.91 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002068/0.0002068, allocations: 12 kB / 307.1 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09495, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002228/0.09722, allocations: 1.975 MB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.09814, allocations: 0.6198 MB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.09826, allocations: 7.938 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.09838, allocations: 27.78 kB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.0985, allocations: 59.48 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.09872, allocations: 51.94 kB / 361.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.09897, allocations: 242.8 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.09914, allocations: 76.62 kB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.09931, allocations: 83.64 kB / 361.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.09944, allocations: 91.61 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.09948, allocations: 16 kB / 361.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.652e-05/0.09954, allocations: 12 kB / 361.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.09959, allocations: 35.86 kB / 361.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.09964, allocations: 61.58 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.09984, allocations: 183.8 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.09985, allocations: 3.938 kB / 362.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09986, allocations: 0 / 362.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.09987, allocations: 0 / 362.2 MB, free: 10.1 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006238/0.1005, allocations: 486.9 kB / 362.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1006, allocations: 8.031 kB / 362.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.1007, allocations: 43.7 kB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.101, allocations: 231.3 kB / 362.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.101, allocations: 12.44 kB / 362.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.101, allocations: 27.91 kB / 362.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.1014, allocations: 217.8 kB / 363.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1014, allocations: 3.984 kB / 363.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.1014, allocations: 12 kB / 363.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1015, allocations: 4 kB / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.1017, allocations: 129.7 kB / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.1026, allocations: 0.7094 MB / 364 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.1029, allocations: 150.5 kB / 364.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.103, allocations: 71.41 kB / 364.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.103, allocations: 8 kB / 364.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1031, allocations: 30.56 kB / 364.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 2.454e-06/0.1031, allocations: 4 kB / 364.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001655/0.1048, allocations: 0.8983 MB / 365.2 MB, free: 6.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1048, allocations: 55.41 kB / 365.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.105, allocations: 176.3 kB / 365.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.105, allocations: 29.7 kB / 365.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.1051, allocations: 140.3 kB / 365.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.1051, allocations: 90.73 kB / 365.6 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.1052, allocations: 4 kB / 365.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1053, allocations: 334.8 kB / 366 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1054, allocations: 59.97 kB / 366 MB, free: 5.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.1055, allocations: 96.25 kB / 366.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1057, allocations: 73.75 kB / 366.2 MB, free: 5.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1057, allocations: 0 / 366.2 MB, free: 5.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004087/0.1061, allocations: 250 kB / 366.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1062, allocations: 11.94 kB / 366.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1062, allocations: 4.125 kB / 366.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.1063, allocations: 36.83 kB / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.1065, allocations: 47.97 kB / 366.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.1076, allocations: 1.387 MB / 367.9 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1077, allocations: 11.98 kB / 367.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1078, allocations: 8 kB / 368 MB, free: 3.816 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.1079, allocations: 133.8 kB / 368.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.1079, allocations: 15.81 kB / 368.1 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.108, allocations: 25.94 kB / 368.1 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.108, allocations: 7.984 kB / 368.1 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.108, allocations: 3.953 kB / 368.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.108, allocations: 0 / 368.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008358/0.1089, allocations: 0.6628 MB / 368.8 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1089, allocations: 0 / 368.8 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.1091, allocations: 47.91 kB / 368.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.1092, allocations: 32.84 kB / 368.9 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1092, allocations: 4 kB / 368.9 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009886/0.1102, allocations: 1.379 MB / 370.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1102, allocations: 0 / 370.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.1107, allocations: 413.5 kB / 370.7 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.1108, allocations: 96.86 kB / 370.8 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1108, allocations: 15.95 kB / 370.8 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.111, allocations: 8 kB / 370.8 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.111, allocations: 23.91 kB / 370.8 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.111, allocations: 4 kB / 370.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.325e-05/0.1111, allocations: 124.1 kB / 370.9 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1111, allocations: 0 / 370.9 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.1114, allocations: 56 kB / 371 MB, free: 0.5352 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001043/0.1115, allocations: 103.2 kB / 371.1 MB, free: 432 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004878/0.112, allocations: 302.2 kB / 371.4 MB, free: 116 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1121, allocations: 0 / 371.4 MB, free: 116 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1486/0.2606, allocations: 212.4 kB / 371.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.2612, allocations: 41.2 kB / 371.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.2624, allocations: 0.8187 MB / 372.4 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.2626, allocations: 0.7466 MB / 373.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.911e-05/0.2627, allocations: 21.88 kB / 373.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.2627, allocations: 19.58 kB / 373.2 MB, free: 18.18 MB / 302.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2628, allocations: 0 / 373.2 MB, free: 18.18 MB / 302.1 MB Notification: Performance of Templates: time 0.005175/0.2679, allocations: 2.152 MB / 375.4 MB, free: 18.04 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches