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.0009261/0.0009261, allocations: 92.8 kB / 16.65 MB, free: 6.594 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.00106/0.00106, allocations: 184 kB / 17.56 MB, free: 6.199 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.305/1.305, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002477/0.0002477, allocations: 7.938 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09516, allocations: 50.41 MB / 351.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00249/0.09768, allocations: 2.039 MB / 353.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.09874, allocations: 0.5766 MB / 354.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.09895, allocations: 4 kB / 354.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.0991, allocations: 23.78 kB / 354.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.09931, allocations: 67.47 kB / 354.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.09952, allocations: 47.95 kB / 354.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.09983, allocations: 262.7 kB / 354.8 MB, free: 448 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.1, allocations: 83.3 kB / 354.9 MB, free: 356 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.1002, allocations: 95.59 kB / 355 MB, free: 260 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1004, allocations: 103.5 kB / 355.1 MB, free: 156 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.1004, allocations: 15.94 kB / 355.1 MB, free: 140 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.504e-05/0.1005, allocations: 12 kB / 355.1 MB, free: 128 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.1005, allocations: 35.84 kB / 355.2 MB, free: 92 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.1007, allocations: 133.1 kB / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1009, allocations: 243.2 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.101, allocations: 0 / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.101, allocations: 4 kB / 355.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.101, allocations: 0 / 355.6 MB, free: 15.71 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.0007206/0.1017, allocations: 495 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1017, allocations: 8.031 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.1018, allocations: 28.66 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1021, allocations: 241.5 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1021, allocations: 12.81 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.1022, allocations: 28.28 kB / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.1026, allocations: 199.6 kB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1026, allocations: 7.938 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1026, allocations: 8 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1026, allocations: 8 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.1029, allocations: 145.6 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009638/0.1039, allocations: 0.6346 MB / 357.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.1042, allocations: 186.6 kB / 357.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1044, allocations: 108.8 kB / 357.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1044, allocations: 0 / 357.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1045, allocations: 34.56 kB / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.203e-06/0.1045, allocations: 0 / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001903/0.1064, allocations: 1.092 MB / 358.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1064, allocations: 63.33 kB / 358.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.1066, allocations: 172 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1066, allocations: 33.7 kB / 359 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.1067, allocations: 136.7 kB / 359.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.41e-05/0.1068, allocations: 118.3 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.1069, allocations: 41.64 kB / 359.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.107, allocations: 334.8 kB / 359.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1071, allocations: 71.97 kB / 359.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.1073, allocations: 107.2 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.1076, allocations: 197.3 kB / 360 MB, free: 10.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1076, allocations: 0 / 360 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005101/0.1081, allocations: 298.2 kB / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1082, allocations: 7.938 kB / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1082, allocations: 0 / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.1084, allocations: 52.89 kB / 360.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.1086, allocations: 55.91 kB / 360.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.11, allocations: 1.569 MB / 362 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1101, allocations: 12.03 kB / 362 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.1102, allocations: 8 kB / 362 MB, free: 8.805 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.0001336/0.1103, allocations: 137.8 kB / 362.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.1104, allocations: 27.81 kB / 362.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.1104, allocations: 30.59 kB / 362.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1104, allocations: 0 / 362.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1104, allocations: 4 kB / 362.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1105, allocations: 3.984 kB / 362.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.1115, allocations: 0.7819 MB / 363 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1116, allocations: 0 / 363 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.1118, allocations: 63.84 kB / 363 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.112, allocations: 36.94 kB / 363.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.112, allocations: 11.98 kB / 363.1 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.113, allocations: 1.374 MB / 364.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.113, allocations: 8.047 kB / 364.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.1137, allocations: 494.4 kB / 365 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.1138, allocations: 96.83 kB / 365 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.1138, allocations: 4 kB / 365.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.114, allocations: 12 kB / 365.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.1141, allocations: 23.95 kB / 365.1 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1141, allocations: 15.98 kB / 365.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1142, allocations: 131.5 kB / 365.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1142, allocations: 0 / 365.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.1146, allocations: 72 kB / 365.3 MB, free: 5.227 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.000119/0.1147, allocations: 115 kB / 365.4 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.1153, allocations: 334.6 kB / 365.7 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1153, allocations: 3.938 kB / 365.7 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.1157, allocations: 242.5 kB / 366 MB, free: 4.512 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.1162, allocations: 48.16 kB / 366 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.1175, allocations: 0.8983 MB / 366.9 MB, free: 3.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1178, allocations: 0.7563 MB / 367.7 MB, free: 2.754 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.849e-05/0.1179, allocations: 26.28 kB / 367.7 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.1179, allocations: 19.44 kB / 367.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.1179, allocations: 0 / 367.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of Templates: time 0.005846/0.1238, allocations: 2.499 MB / 370.2 MB, free: 232 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