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.000869/0.0008692, allocations: 93.98 kB / 16.65 MB, free: 6.598 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.0009428/0.0009427, allocations: 177.2 kB / 17.56 MB, free: 6.203 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.454/1.454, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 4 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09772, allocations: 50.43 MB / 351.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002616/0.1004, allocations: 2.031 MB / 353.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1015, allocations: 0.5688 MB / 354.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.1017, allocations: 7.938 kB / 354.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.1019, allocations: 23.78 kB / 354.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1021, allocations: 59.53 kB / 354.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1023, allocations: 43.95 kB / 354.6 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.1027, allocations: 246.8 kB / 354.8 MB, free: 480 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1029, allocations: 72.8 kB / 354.9 MB, free: 400 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.103, allocations: 87.59 kB / 355 MB, free: 312 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1032, allocations: 95.53 kB / 355.1 MB, free: 216 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.1032, allocations: 8 kB / 355.1 MB, free: 208 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/0.1033, allocations: 12 kB / 355.1 MB, free: 196 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.1033, allocations: 35.8 kB / 355.1 MB, free: 160 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1034, allocations: 137.1 kB / 355.3 MB, free: 16 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1037, allocations: 235.3 kB / 355.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1037, allocations: 0 / 355.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1037, allocations: 4 kB / 355.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1037, allocations: 0 / 355.5 MB, free: 15.78 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.0006774/0.1044, allocations: 479.1 kB / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1045, allocations: 8.031 kB / 356 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.1045, allocations: 24.66 kB / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1048, allocations: 245.5 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1048, allocations: 16.81 kB / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.1049, allocations: 20.38 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.1053, allocations: 218.2 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1053, allocations: 3.906 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.1053, allocations: 12 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1054, allocations: 4 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.1056, allocations: 137.6 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1068, allocations: 0.7055 MB / 357.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.107, allocations: 146.5 kB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1072, allocations: 68.83 kB / 357.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1072, allocations: 0 / 357.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1073, allocations: 46.5 kB / 357.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.1073, allocations: 0 / 357.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001643/0.1089, allocations: 0.9078 MB / 358.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.109, allocations: 51.41 kB / 358.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1091, allocations: 179.2 kB / 358.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1092, allocations: 29.7 kB / 358.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/0.1093, allocations: 148.2 kB / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/0.1094, allocations: 86.75 kB / 359 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.1094, allocations: 29.7 kB / 359 MB, free: 11.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1095, allocations: 326.8 kB / 359.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1097, allocations: 55.97 kB / 359.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.1098, allocations: 104.2 kB / 359.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.1101, allocations: 172.2 kB / 359.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1101, allocations: 0 / 359.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004904/0.1106, allocations: 254 kB / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.1107, allocations: 11.92 kB / 359.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1107, allocations: 4 kB / 359.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.1109, allocations: 32.84 kB / 359.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1111, allocations: 51.91 kB / 360 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.1123, allocations: 1.374 MB / 361.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1124, allocations: 16.08 kB / 361.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.1125, allocations: 15.94 kB / 361.4 MB, free: 9.367 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.0001258/0.1126, allocations: 133.8 kB / 361.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.1126, allocations: 19.81 kB / 361.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/0.1127, allocations: 29.86 kB / 361.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1127, allocations: 0 / 361.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1127, allocations: 4 kB / 361.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1127, allocations: 0 / 361.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008971/0.1136, allocations: 0.6548 MB / 362.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1137, allocations: 8.062 kB / 362.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.1139, allocations: 48.05 kB / 362.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.114, allocations: 36.83 kB / 362.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.114, allocations: 0 / 362.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.1151, allocations: 1.375 MB / 363.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.1151, allocations: 7.969 kB / 363.7 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.1157, allocations: 417.9 kB / 364.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.1158, allocations: 92.95 kB / 364.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1158, allocations: 8 kB / 364.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.116, allocations: 11.94 kB / 364.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.116, allocations: 23.97 kB / 364.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1161, allocations: 4 kB / 364.3 MB, free: 6.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.1162, allocations: 124.8 kB / 364.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1162, allocations: 0 / 364.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000342/0.1165, allocations: 60 kB / 364.4 MB, free: 6.074 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.0001269/0.1167, allocations: 107.1 kB / 364.5 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005689/0.1172, allocations: 294.5 kB / 364.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1173, allocations: 4 kB / 364.8 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.1176, allocations: 218.4 kB / 365.1 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.118, allocations: 47.77 kB / 365.1 MB, free: 5.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1193, allocations: 0.8404 MB / 365.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1196, allocations: 0.7523 MB / 366.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.183e-05/0.1197, allocations: 13.95 kB / 366.7 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.1198, allocations: 19.44 kB / 366.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1198, allocations: 0 / 366.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of Templates: time 0.005476/0.1253, allocations: 2.227 MB / 368.9 MB, free: 1.5 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 -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/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_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches