Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.56 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.09975, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003544/0.1033, allocations: 2.365 MB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1044, allocations: 0.6505 MB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1046, allocations: 4 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.1047, allocations: 39.58 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1049, allocations: 71.34 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1052, allocations: 59.91 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.1055, allocations: 262.8 kB / 362.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.1057, allocations: 92.28 kB / 362.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.1059, allocations: 103.5 kB / 362.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.106, allocations: 107.5 kB / 362.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.1061, allocations: 20 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/0.1062, allocations: 20 kB / 362.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.1062, allocations: 43.84 kB / 362.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1063, allocations: 119.4 kB / 362.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1066, allocations: 263 kB / 363.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1066, allocations: 0 / 363.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1066, allocations: 0 / 363.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1066, allocations: 0 / 363.1 MB, free: 9.117 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.0006811/0.1073, allocations: 0.5106 MB / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1073, allocations: 8.031 kB / 363.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.1075, allocations: 32.66 kB / 363.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1078, allocations: 246.2 kB / 363.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1078, allocations: 12.81 kB / 363.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.1079, allocations: 32.25 kB / 363.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.1082, allocations: 218.1 kB / 364.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1082, allocations: 4 kB / 364.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1083, allocations: 8 kB / 364.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1083, allocations: 4 kB / 364.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.1085, allocations: 129.6 kB / 364.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.1095, allocations: 0.7054 MB / 365 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.1097, allocations: 146.5 kB / 365.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.1098, allocations: 68.83 kB / 365.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1099, allocations: 4 kB / 365.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1099, allocations: 34.56 kB / 365.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.1099, allocations: 0 / 365.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001481/0.1114, allocations: 0.8888 MB / 366.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1114, allocations: 55.41 kB / 366.2 MB, free: 5.754 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1116, allocations: 188.2 kB / 366.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1116, allocations: 25.7 kB / 366.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.1117, allocations: 144.3 kB / 366.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.1118, allocations: 86.66 kB / 366.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.1119, allocations: 49.7 kB / 366.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.112, allocations: 334.8 kB / 367 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1121, allocations: 51.98 kB / 367 MB, free: 4.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1123, allocations: 100.2 kB / 367.1 MB, free: 4.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.1125, allocations: 177.9 kB / 367.3 MB, free: 4.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1126, allocations: 4 kB / 367.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004127/0.113, allocations: 246 kB / 367.6 MB, free: 4.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.113, allocations: 8.125 kB / 367.6 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.113, allocations: 4 kB / 367.6 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.1132, allocations: 28.84 kB / 367.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1134, allocations: 55.91 kB / 367.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.1146, allocations: 1.477 MB / 369.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1147, allocations: 12.03 kB / 369.1 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1148, allocations: 8 kB / 369.1 MB, free: 2.559 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.0001196/0.1149, allocations: 141.8 kB / 369.3 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.1149, allocations: 23.7 kB / 369.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.115, allocations: 25.88 kB / 369.3 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.115, allocations: 3.938 kB / 369.3 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.115, allocations: 4 kB / 369.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.115, allocations: 0 / 369.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.1159, allocations: 0.6558 MB / 370 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1159, allocations: 0 / 370 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.1161, allocations: 39.92 kB / 370 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.1162, allocations: 40.83 kB / 370.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1162, allocations: 4 kB / 370.1 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1728/0.289, allocations: 1.478 MB / 371.6 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.289, allocations: 1.062 kB / 371.6 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.2897, allocations: 406.3 kB / 372 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.2898, allocations: 96.44 kB / 372 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.2898, allocations: 10.14 kB / 372.1 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2899, allocations: 7.797 kB / 372.1 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.29, allocations: 26.33 kB / 372.1 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.29, allocations: 8.75 kB / 372.1 MB, free: 19.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.916e-05/0.2901, allocations: 130.8 kB / 372.2 MB, free: 19.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2901, allocations: 0.9688 kB / 372.2 MB, free: 19.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004031/0.2905, allocations: 56.44 kB / 372.3 MB, free: 19.18 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.0001032/0.2907, allocations: 99.28 kB / 372.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.2912, allocations: 300 kB / 372.7 MB, free: 18.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2912, allocations: 0.8438 kB / 372.7 MB, free: 18.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.2915, allocations: 211.9 kB / 372.9 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.2919, allocations: 46.58 kB / 372.9 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2929, allocations: 0.671 MB / 373.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.2931, allocations: 0.7475 MB / 374.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.2932, allocations: 22.91 kB / 374.4 MB, free: 17.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.2932, allocations: 18.17 kB / 374.4 MB, free: 17.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2932, allocations: 0.9375 kB / 374.4 MB, free: 17.82 MB / 302.1 MB Notification: Performance of Templates: time 0.006453/0.2997, allocations: 2.372 MB / 376.8 MB, free: 17.69 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches