Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.First,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.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_4.0.0_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 106.4 kB / 16.92 MB, free: 5.781 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.001357/0.001357, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.32/1.32, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000947/0.000947, allocations: 46.7 kB / 300.6 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09594, allocations: 49.44 MB / 350 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003857/0.09985, allocations: 2.337 MB / 352.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1011, allocations: 0.5882 MB / 353 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.1013, allocations: 4 kB / 353 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.1015, allocations: 39.59 kB / 353 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.1018, allocations: 71.33 kB / 353.1 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1021, allocations: 55.88 kB / 353.1 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.1024, allocations: 270.8 kB / 353.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.1027, allocations: 102.7 kB / 353.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1028, allocations: 111.6 kB / 353.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.103, allocations: 111.5 kB / 353.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.103, allocations: 24 kB / 353.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.777e-05/0.1031, allocations: 20 kB / 353.8 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.1031, allocations: 47.83 kB / 353.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1032, allocations: 131.3 kB / 353.9 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1035, allocations: 255.3 kB / 354.2 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1035, allocations: 0 / 354.2 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1035, allocations: 0 / 354.2 MB, free: 280 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1035, allocations: 3.938 kB / 354.2 MB, free: 276 kB / 286.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.0007543/0.1043, allocations: 0.5146 MB / 354.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1043, allocations: 11.89 kB / 354.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.1044, allocations: 32.66 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1047, allocations: 245.5 kB / 355 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1047, allocations: 16.81 kB / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.1048, allocations: 28.28 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.1051, allocations: 191.6 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1051, allocations: 7.984 kB / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.1052, allocations: 8 kB / 355.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1052, allocations: 4 kB / 355.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.1054, allocations: 137.7 kB / 355.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.1064, allocations: 0.6424 MB / 356 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.1067, allocations: 174.5 kB / 356.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1068, allocations: 100.8 kB / 356.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1069, allocations: 7.984 kB / 356.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1069, allocations: 34.5 kB / 356.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.572e-06/0.1069, allocations: 0 / 356.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001797/0.1087, allocations: 1.077 MB / 357.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1087, allocations: 63.34 kB / 357.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1089, allocations: 180 kB / 357.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1089, allocations: 29.7 kB / 357.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.109, allocations: 140.7 kB / 357.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.1091, allocations: 114.3 kB / 357.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.1092, allocations: 53.69 kB / 358 MB, free: 12.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1093, allocations: 330.8 kB / 358.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1095, allocations: 83.89 kB / 358.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.1096, allocations: 103.2 kB / 358.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.1099, allocations: 185.4 kB / 358.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1099, allocations: 0 / 358.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004647/0.1104, allocations: 306.1 kB / 359 MB, free: 11.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1104, allocations: 10.66 kB / 359 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1104, allocations: 0 / 359 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.1106, allocations: 40.83 kB / 359 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.1109, allocations: 63.84 kB / 359.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.1124, allocations: 1.736 MB / 360.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.1125, allocations: 12.03 kB / 360.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1125, allocations: 12.17 kB / 360.8 MB, free: 9.168 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.0001393/0.1127, allocations: 137.8 kB / 361 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.1127, allocations: 23.75 kB / 361 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.1128, allocations: 30.66 kB / 361 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1128, allocations: 8.062 kB / 361 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.1128, allocations: 0 / 361 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1128, allocations: 3.984 kB / 361 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.1139, allocations: 0.7858 MB / 361.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1139, allocations: 0 / 361.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.1142, allocations: 59.91 kB / 361.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.1143, allocations: 32.83 kB / 361.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.1144, allocations: 12.09 kB / 361.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.1155, allocations: 1.484 MB / 363.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1156, allocations: 0 / 363.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.1162, allocations: 490.4 kB / 363.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.1163, allocations: 92.95 kB / 364 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1163, allocations: 8 kB / 364 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1165, allocations: 8 kB / 364 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.1165, allocations: 23.91 kB / 364 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1166, allocations: 8 kB / 364 MB, free: 5.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1167, allocations: 131.2 kB / 364.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1167, allocations: 11.94 kB / 364.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.1171, allocations: 68 kB / 364.2 MB, free: 5.496 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.0001374/0.1172, allocations: 115.1 kB / 364.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006724/0.1179, allocations: 347.5 kB / 364.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1179, allocations: 4.125 kB / 364.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.1182, allocations: 238.5 kB / 364.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.1188, allocations: 58.2 kB / 365 MB, free: 4.719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.1202, allocations: 0.722 MB / 365.7 MB, free: 3.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1205, allocations: 0.7562 MB / 366.4 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.859e-05/0.1206, allocations: 22.28 kB / 366.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.1207, allocations: 27.44 kB / 366.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1207, allocations: 0 / 366.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of Templates: time 0.006275/0.127, allocations: 2.66 MB / 369.2 MB, free: 496 kB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches