Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 111.4 kB / 17.68 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 192 kB / 18.62 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000949/0.0009495, allocations: 42.64 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09788, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003436/0.1013, allocations: 2.345 MB / 353.8 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.1022, allocations: 0.5765 MB / 354.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1024, allocations: 7.938 kB / 354.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.1025, allocations: 35.66 kB / 354.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.1027, allocations: 71.33 kB / 354.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.1029, allocations: 55.92 kB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.1031, allocations: 254.8 kB / 354.8 MB, free: 340 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.1033, allocations: 88.83 kB / 354.9 MB, free: 244 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1035, allocations: 103.5 kB / 355 MB, free: 140 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1036, allocations: 99.55 kB / 355.1 MB, free: 40 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.1036, allocations: 23.98 kB / 355.1 MB, free: 16 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.04e-05/0.1037, allocations: 16 kB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.1037, allocations: 47.97 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1039, allocations: 119.3 kB / 355.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1041, allocations: 246.9 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1041, allocations: 8 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1041, allocations: 0 / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1041, allocations: 0 / 355.6 MB, free: 15.59 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.0006515/0.1048, allocations: 0.5029 MB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1048, allocations: 11.89 kB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.1049, allocations: 24.66 kB / 356.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1052, allocations: 249.7 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1052, allocations: 16.81 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.1053, allocations: 20.38 kB / 356.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.1056, allocations: 214.2 kB / 356.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1056, allocations: 3.906 kB / 356.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.1057, allocations: 12 kB / 356.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1057, allocations: 4 kB / 356.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.1059, allocations: 125.6 kB / 356.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000947/0.1069, allocations: 0.6977 MB / 357.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1071, allocations: 150.5 kB / 357.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.1073, allocations: 64.84 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1073, allocations: 4 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1074, allocations: 46.48 kB / 357.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.1074, allocations: 0 / 357.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001517/0.1089, allocations: 0.884 MB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1089, allocations: 55.39 kB / 358.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1091, allocations: 175.2 kB / 358.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1091, allocations: 29.7 kB / 358.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.1092, allocations: 148.2 kB / 359 MB, free: 11.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.1093, allocations: 86.73 kB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.1094, allocations: 45.7 kB / 359.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1095, allocations: 342.8 kB / 359.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1096, allocations: 51.97 kB / 359.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1097, allocations: 96.27 kB / 359.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.11, allocations: 172.1 kB / 359.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.11, allocations: 4 kB / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004188/0.1104, allocations: 253.9 kB / 360 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1105, allocations: 4 kB / 360 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1105, allocations: 4 kB / 360 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.1106, allocations: 40.91 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.1109, allocations: 51.91 kB / 360.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.1121, allocations: 1.477 MB / 361.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1122, allocations: 8.031 kB / 361.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.1122, allocations: 8 kB / 361.6 MB, free: 9.051 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 (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 prepare postOptimizeDAE: time 0.0001222/0.1123, allocations: 140.8 kB / 361.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.1124, allocations: 19.81 kB / 361.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.1125, allocations: 25.88 kB / 361.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1125, allocations: 3.938 kB / 361.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1125, allocations: 4 kB / 361.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1125, allocations: 3.984 kB / 361.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000906/0.1134, allocations: 0.644 MB / 362.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1134, allocations: 4.141 kB / 362.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.1136, allocations: 43.92 kB / 362.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.1138, allocations: 36.81 kB / 362.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1138, allocations: 8 kB / 362.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.1149, allocations: 1.488 MB / 364 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1149, allocations: 0 / 364 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.1154, allocations: 406 kB / 364.4 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.1155, allocations: 92.95 kB / 364.5 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1155, allocations: 8 kB / 364.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1156, allocations: 8 kB / 364.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.1157, allocations: 27.91 kB / 364.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1157, allocations: 4 kB / 364.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.72e-05/0.1158, allocations: 128.8 kB / 364.7 MB, free: 5.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1158, allocations: 0 / 364.7 MB, free: 5.711 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003499/0.1162, allocations: 56 kB / 364.7 MB, free: 5.656 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 (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.0001135/0.1163, allocations: 115.1 kB / 364.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005119/0.1168, allocations: 294.2 kB / 365.1 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1168, allocations: 0 / 365.1 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.1171, allocations: 218.5 kB / 365.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1175, allocations: 39.25 kB / 365.4 MB, free: 4.977 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1187, allocations: 0.6809 MB / 366.1 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.119, allocations: 0.7443 MB / 366.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.601e-05/0.1191, allocations: 17.94 kB / 366.8 MB, free: 3.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.1191, allocations: 23.44 kB / 366.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1191, allocations: 3.938 kB / 366.8 MB, free: 3.441 MB / 302.1 MB Notification: Performance of Templates: time 0.00563/0.1248, allocations: 2.367 MB / 369.2 MB, free: 1.094 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches