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.001151/0.001151, allocations: 113.2 kB / 17.69 MB, free: 5.309 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.001021/0.001022, allocations: 187 kB / 18.63 MB, free: 4.379 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.325/1.325, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009956/0.0009957, allocations: 46.02 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09177, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003402/0.09521, allocations: 2.334 MB / 353.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000888/0.09612, allocations: 0.5804 MB / 354.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.09624, allocations: 8 kB / 354.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.09639, allocations: 31.59 kB / 354.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.09656, allocations: 79.33 kB / 354.5 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.09675, allocations: 55.92 kB / 354.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.09712, allocations: 278.6 kB / 354.9 MB, free: 336 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.09733, allocations: 98.73 kB / 355 MB, free: 228 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.09748, allocations: 103.6 kB / 355.1 MB, free: 124 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.09766, allocations: 115.5 kB / 355.2 MB, free: 8 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.09772, allocations: 20.05 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.399e-05/0.09776, allocations: 24 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.09781, allocations: 51.73 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.09793, allocations: 123.4 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.09817, allocations: 267 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.09818, allocations: 3.938 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.09819, allocations: 0 / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.09821, allocations: 3.938 kB / 355.7 MB, free: 15.52 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.0006783/0.09889, allocations: 0.5146 MB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.09893, allocations: 15.89 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.09899, allocations: 24.66 kB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.09929, allocations: 241.8 kB / 356.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.09931, allocations: 16.81 kB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.09936, allocations: 28.27 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.09968, allocations: 195.5 kB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.09971, allocations: 4 kB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.09973, allocations: 8 kB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.09975, allocations: 12 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.1, allocations: 133.7 kB / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008512/0.1009, allocations: 0.6307 MB / 357.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.1012, allocations: 182.5 kB / 357.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.1013, allocations: 104.8 kB / 357.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1014, allocations: 0 / 357.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1014, allocations: 34.56 kB / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.062e-06/0.1014, allocations: 0 / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001774/0.1032, allocations: 1.081 MB / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1032, allocations: 59.34 kB / 358.9 MB, free: 12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1034, allocations: 180 kB / 359.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1034, allocations: 33.64 kB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.1035, allocations: 144.7 kB / 359.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.1036, allocations: 114.3 kB / 359.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.1037, allocations: 53.7 kB / 359.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1038, allocations: 334.8 kB / 359.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1039, allocations: 63.97 kB / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1041, allocations: 107.2 kB / 359.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1044, allocations: 197.3 kB / 360.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1044, allocations: 0 / 360.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004679/0.1049, allocations: 298.1 kB / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1049, allocations: 4 kB / 360.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1049, allocations: 0 / 360.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.1051, allocations: 48.89 kB / 360.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.1054, allocations: 59.91 kB / 360.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.1068, allocations: 1.732 MB / 362.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1069, allocations: 16.2 kB / 362.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.1069, allocations: 12 kB / 362.3 MB, free: 8.434 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.0001179/0.107, allocations: 141.8 kB / 362.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.1071, allocations: 31.69 kB / 362.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.1072, allocations: 30.64 kB / 362.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1072, allocations: 4 kB / 362.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1072, allocations: 4 kB / 362.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1072, allocations: 3.984 kB / 362.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1082, allocations: 0.7702 MB / 363.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1082, allocations: 4 kB / 363.3 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.1085, allocations: 59.91 kB / 363.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.1086, allocations: 32.83 kB / 363.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.1086, allocations: 8 kB / 363.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.1097, allocations: 1.488 MB / 364.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1097, allocations: 0 / 364.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.1104, allocations: 498.4 kB / 365.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.1104, allocations: 92.91 kB / 365.4 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.1105, allocations: 12 kB / 365.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1106, allocations: 8 kB / 365.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.1107, allocations: 23.97 kB / 365.5 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1107, allocations: 7.938 kB / 365.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.847e-05/0.1108, allocations: 135.2 kB / 365.6 MB, free: 4.824 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1108, allocations: 3.938 kB / 365.6 MB, free: 4.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.1112, allocations: 68 kB / 365.7 MB, free: 4.754 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.0001142/0.1113, allocations: 107.4 kB / 365.8 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005692/0.1119, allocations: 343.5 kB / 366.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1119, allocations: 0 / 366.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.1122, allocations: 234.8 kB / 366.4 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1126, allocations: 62 kB / 366.4 MB, free: 3.992 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.1138, allocations: 0.7141 MB / 367.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.1141, allocations: 0.7562 MB / 367.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.256e-05/0.1142, allocations: 22.28 kB / 367.9 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.1142, allocations: 23.44 kB / 367.9 MB, free: 2.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1142, allocations: 3.938 kB / 367.9 MB, free: 2.406 MB / 302.1 MB Notification: Performance of Templates: time 0.1446/0.2588, allocations: 2.645 MB / 370.6 MB, free: 24.85 MB / 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 -s gbode -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/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_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches