Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001182, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.14 kB / 308.4 MB, free: 15.95 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 50.54 MB / 358.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003676/0.106, allocations: 2.357 MB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1071, allocations: 0.6505 MB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1073, allocations: 4 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1075, allocations: 35.59 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.1076, allocations: 75.33 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1079, allocations: 71.84 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.1082, allocations: 278.7 kB / 362.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1084, allocations: 106.7 kB / 362.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1086, allocations: 111.6 kB / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1087, allocations: 111.5 kB / 362.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.1088, allocations: 23.94 kB / 362.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.1088, allocations: 24 kB / 362.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.1089, allocations: 47.84 kB / 362.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.109, allocations: 123.4 kB / 362.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.1093, allocations: 267 kB / 363.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1093, allocations: 4 kB / 363.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1093, allocations: 3.938 kB / 363.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1093, allocations: 3.984 kB / 363.2 MB, free: 9.094 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006902/0.11, allocations: 0.5223 MB / 363.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1101, allocations: 8.031 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.1102, allocations: 32.66 kB / 363.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1105, allocations: 254.2 kB / 364 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1106, allocations: 12.81 kB / 364 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.1106, allocations: 24.38 kB / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.1109, allocations: 199.5 kB / 364.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.111, allocations: 0 / 364.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.111, allocations: 12 kB / 364.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.111, allocations: 8 kB / 364.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.1113, allocations: 141.7 kB / 364.4 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.1122, allocations: 0.6267 MB / 365 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.1125, allocations: 190.3 kB / 365.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.1127, allocations: 96.77 kB / 365.3 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1127, allocations: 12 kB / 365.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1127, allocations: 34.56 kB / 365.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.402e-06/0.1127, allocations: 0 / 365.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001924/0.1147, allocations: 1.067 MB / 366.4 MB, free: 5.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1147, allocations: 63.34 kB / 366.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1149, allocations: 183.1 kB / 366.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.115, allocations: 29.7 kB / 366.7 MB, free: 5.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.115, allocations: 144.6 kB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.584e-05/0.1151, allocations: 114.4 kB / 366.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.448e-05/0.1152, allocations: 57.7 kB / 367 MB, free: 5.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1154, allocations: 330.8 kB / 367.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1155, allocations: 71.72 kB / 367.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1157, allocations: 102.8 kB / 367.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.116, allocations: 197 kB / 367.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.116, allocations: 0 / 367.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00048/0.1165, allocations: 299.1 kB / 367.9 MB, free: 3.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1165, allocations: 4 kB / 368 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1165, allocations: 7.938 kB / 368 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.1167, allocations: 40.83 kB / 368 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.117, allocations: 63.97 kB / 368.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.1189, allocations: 1.74 MB / 369.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.119, allocations: 8 kB / 369.8 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1191, allocations: 4 kB / 369.8 MB, free: 1.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.1193, allocations: 149.7 kB / 370 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/0.1194, allocations: 27.66 kB / 370 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/0.1194, allocations: 26.66 kB / 370 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1194, allocations: 4.062 kB / 370 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1195, allocations: 4 kB / 370 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1195, allocations: 3.984 kB / 370 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.121, allocations: 0.7893 MB / 370.8 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.121, allocations: 0 / 370.8 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.1214, allocations: 55.91 kB / 370.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/0.1216, allocations: 32.84 kB / 370.9 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.1217, allocations: 11.98 kB / 370.9 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1956/0.3173, allocations: 1.475 MB / 372.4 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3173, allocations: 2.219 kB / 372.4 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.3181, allocations: 478.2 kB / 372.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.3182, allocations: 101.4 kB / 373 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.3182, allocations: 8.609 kB / 373 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3183, allocations: 11.97 kB / 373 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.3184, allocations: 30.8 kB / 373 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.3184, allocations: 10.91 kB / 373 MB, free: 18.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.521e-05/0.3185, allocations: 131.5 kB / 373.1 MB, free: 18.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3185, allocations: 1.281 kB / 373.1 MB, free: 18.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004006/0.319, allocations: 66.41 kB / 373.2 MB, free: 18.61 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000108/0.3191, allocations: 112.6 kB / 373.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005561/0.3196, allocations: 344.9 kB / 373.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3196, allocations: 0 / 373.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.32, allocations: 237.3 kB / 373.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.3204, allocations: 44.81 kB / 373.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.3215, allocations: 0.7342 MB / 374.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.3217, allocations: 0.756 MB / 375.4 MB, free: 17.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.347e-05/0.3218, allocations: 22.42 kB / 375.4 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.3218, allocations: 24.91 kB / 375.5 MB, free: 17.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3218, allocations: 0 / 375.5 MB, free: 17.25 MB / 302.1 MB Notification: Performance of Templates: time 0.006169/0.328, allocations: 2.662 MB / 378.1 MB, free: 17.09 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches