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.001173/0.001173, allocations: 97.25 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 199.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002268/0.0002268, allocations: 8 kB / 306.6 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09566, allocations: 51.48 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002137/0.09784, allocations: 1.893 MB / 360 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.09874, allocations: 0.6121 MB / 360.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.09886, allocations: 7.938 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.09891, allocations: 23.84 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.09909, allocations: 79.75 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.09928, allocations: 43.94 kB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.09952, allocations: 175.6 kB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.09968, allocations: 72.73 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.09984, allocations: 91.62 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.09998, allocations: 91.61 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1, allocations: 15.94 kB / 361.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.634e-05/0.1001, allocations: 12 kB / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.1001, allocations: 39.83 kB / 361.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.1002, allocations: 65.58 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1003, allocations: 171.8 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1004, allocations: 4 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1004, allocations: 0 / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1004, allocations: 0 / 361.4 MB, free: 10.54 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.0005933/0.101, allocations: 498.8 kB / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.101, allocations: 8.031 kB / 361.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.1012, allocations: 39.7 kB / 362 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1014, allocations: 223.4 kB / 362.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1014, allocations: 16.44 kB / 362.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.1015, allocations: 27.95 kB / 362.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.1018, allocations: 205.9 kB / 362.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1018, allocations: 7.844 kB / 362.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.1019, allocations: 4 kB / 362.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1019, allocations: 12 kB / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.1021, allocations: 129.7 kB / 362.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.1031, allocations: 0.7055 MB / 363.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1033, allocations: 150.5 kB / 363.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1034, allocations: 4 kB / 363.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1034, allocations: 34.56 kB / 363.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.1034, allocations: 4 kB / 363.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001445/0.1049, allocations: 0.8965 MB / 364.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.1049, allocations: 51.41 kB / 364.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1051, allocations: 179.2 kB / 364.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1051, allocations: 25.7 kB / 364.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.1052, allocations: 148.2 kB / 364.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.1053, allocations: 94.67 kB / 364.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-06/0.1053, allocations: 7.938 kB / 364.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1054, allocations: 330.8 kB / 365.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1055, allocations: 59.91 kB / 365.3 MB, free: 6.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1057, allocations: 104.2 kB / 365.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1058, allocations: 65.75 kB / 365.4 MB, free: 6.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1058, allocations: 0 / 365.4 MB, free: 6.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004125/0.1062, allocations: 254.1 kB / 365.7 MB, free: 5.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1062, allocations: 4 kB / 365.7 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1063, allocations: 4 kB / 365.7 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.1064, allocations: 32.83 kB / 365.7 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.1066, allocations: 51.92 kB / 365.8 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1077, allocations: 1.39 MB / 367.1 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1079, allocations: 11.98 kB / 367.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1079, allocations: 12 kB / 367.2 MB, free: 4.332 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.108, allocations: 133.8 kB / 367.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.1081, allocations: 15.81 kB / 367.3 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.1081, allocations: 25.88 kB / 367.3 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1081, allocations: 4 kB / 367.3 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1081, allocations: 3.984 kB / 367.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1081, allocations: 7.953 kB / 367.4 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/0.109, allocations: 0.6506 MB / 368 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.109, allocations: 0 / 368 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.1092, allocations: 51.91 kB / 368.1 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.1093, allocations: 32.91 kB / 368.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1094, allocations: 8 kB / 368.1 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.1104, allocations: 1.386 MB / 369.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1104, allocations: 0 / 369.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.111, allocations: 433.4 kB / 369.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.111, allocations: 92.95 kB / 370 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1111, allocations: 8 kB / 370 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.1112, allocations: 8 kB / 370 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1113, allocations: 19.91 kB / 370 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1113, allocations: 12 kB / 370 MB, free: 1.188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.437e-05/0.1114, allocations: 128.8 kB / 370.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.1114, allocations: 0 / 370.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.1117, allocations: 59.94 kB / 370.2 MB, free: 1.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.1118, allocations: 103.2 kB / 370.3 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004986/0.1123, allocations: 298.4 kB / 370.6 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1123, allocations: 0 / 370.6 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.1126, allocations: 218.5 kB / 370.8 MB, free: 368 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.113, allocations: 47.88 kB / 370.9 MB, free: 320 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1493/0.2623, allocations: 0.807 MB / 371.7 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.2626, allocations: 0.7527 MB / 372.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2627, allocations: 20.53 kB / 372.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.2628, allocations: 18.94 kB / 372.5 MB, free: 18.65 MB / 302.1 MB Notification: Performance of SimCode: time 1.203e-06/0.2628, allocations: 0 / 372.5 MB, free: 18.65 MB / 302.1 MB Notification: Performance of Templates: time 0.00588/0.2686, allocations: 2.144 MB / 374.6 MB, free: 18.53 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches