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.001194/0.001194, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001552/0.001552, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.35/1.35, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 47.77 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 49.45 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004382/0.1083, allocations: 2.345 MB / 353.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1096, allocations: 0.5843 MB / 353.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.1099, allocations: 4 kB / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.1102, allocations: 31.66 kB / 353.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.1105, allocations: 71.34 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1107, allocations: 55.86 kB / 353.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.1111, allocations: 250.9 kB / 354.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.1113, allocations: 80.84 kB / 354.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.1116, allocations: 103.5 kB / 354.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1118, allocations: 107.5 kB / 354.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.1118, allocations: 20 kB / 354.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.443e-05/0.1119, allocations: 20 kB / 354.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.1119, allocations: 47.84 kB / 354.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.112, allocations: 111.4 kB / 354.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.1123, allocations: 251.3 kB / 354.8 MB, free: 324 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1123, allocations: 4 kB / 354.8 MB, free: 320 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1124, allocations: 0 / 354.8 MB, free: 320 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1124, allocations: 0 / 354.8 MB, free: 320 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007704/0.1131, allocations: 0.5067 MB / 355.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1132, allocations: 15.89 kB / 355.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.1133, allocations: 24.66 kB / 355.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1136, allocations: 237.8 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1136, allocations: 16.81 kB / 355.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.1137, allocations: 16.38 kB / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.1141, allocations: 218.1 kB / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1141, allocations: 7.906 kB / 355.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.1141, allocations: 8 kB / 355.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.1142, allocations: 15.94 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.1144, allocations: 125.7 kB / 356 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1155, allocations: 0.6977 MB / 356.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.1158, allocations: 150.4 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.1159, allocations: 80.81 kB / 356.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1159, allocations: 4 kB / 356.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.116, allocations: 34.56 kB / 356.9 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.116, allocations: 0 / 356.9 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001584/0.1176, allocations: 0.8821 MB / 357.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1176, allocations: 63.39 kB / 357.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1178, allocations: 179.1 kB / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1178, allocations: 29.7 kB / 358.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.1179, allocations: 148.2 kB / 358.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.285e-05/0.118, allocations: 86.75 kB / 358.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.1181, allocations: 45.7 kB / 358.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1182, allocations: 330.8 kB / 358.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1183, allocations: 63.91 kB / 358.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1185, allocations: 92.27 kB / 358.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.1187, allocations: 168.2 kB / 359 MB, free: 11.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1188, allocations: 0 / 359 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004391/0.1192, allocations: 257.9 kB / 359.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1192, allocations: 8 kB / 359.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1192, allocations: 0 / 359.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.1194, allocations: 32.97 kB / 359.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.1197, allocations: 51.91 kB / 359.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.1209, allocations: 1.481 MB / 360.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.1211, allocations: 8 kB / 360.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1211, allocations: 7.984 kB / 360.8 MB, free: 9.773 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.0001276/0.1212, allocations: 144.7 kB / 361 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.1213, allocations: 15.81 kB / 361 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.1213, allocations: 25.88 kB / 361 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1213, allocations: 7.938 kB / 361 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1214, allocations: 0 / 361 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1214, allocations: 3.984 kB / 361 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/0.1223, allocations: 0.6482 MB / 361.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1223, allocations: 0 / 361.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1225, allocations: 43.92 kB / 361.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.1226, allocations: 32.83 kB / 361.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.1227, allocations: 12.06 kB / 361.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.1238, allocations: 1.492 MB / 363.2 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1238, allocations: 8.016 kB / 363.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.1244, allocations: 402 kB / 363.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.1244, allocations: 96.89 kB / 363.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1245, allocations: 4 kB / 363.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1246, allocations: 4 kB / 363.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.1247, allocations: 23.91 kB / 363.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1247, allocations: 8 kB / 363.8 MB, free: 6.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1248, allocations: 132.8 kB / 363.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1248, allocations: 0 / 363.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.1251, allocations: 64 kB / 364 MB, free: 6.363 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.0001277/0.1253, allocations: 103.2 kB / 364.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005989/0.1259, allocations: 302.3 kB / 364.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1259, allocations: 256 / 364.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.1262, allocations: 222.5 kB / 364.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.1267, allocations: 48.06 kB / 364.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.128, allocations: 0.7011 MB / 365.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.1283, allocations: 0.7482 MB / 366.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.1284, allocations: 19.44 kB / 366.1 MB, free: 4.129 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1284, allocations: 0 / 366.1 MB, free: 4.129 MB / 302.1 MB Notification: Performance of Templates: time 0.005846/0.1343, allocations: 3.443 MB / 369.5 MB, free: 0.6836 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/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