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.001257/0.001257, allocations: 108 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001372, allocations: 213.8 kB / 18.92 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.41 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 50.53 MB / 357.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003529/0.1057, allocations: 2.406 MB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1068, allocations: 0.6389 MB / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.107, allocations: 7.938 kB / 360.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1072, allocations: 35.77 kB / 360.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1073, allocations: 51.55 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1076, allocations: 63.88 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.1079, allocations: 262.7 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.1081, allocations: 88.28 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1083, allocations: 107.6 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.1084, allocations: 99.5 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1085, allocations: 20 kB / 361.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.1086, allocations: 31.98 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.1086, allocations: 35.86 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1087, allocations: 119.4 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1089, allocations: 199.7 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.109, allocations: 4 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.109, allocations: 0 / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.109, allocations: 0 / 361.8 MB, free: 10.25 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.000695/0.1097, allocations: 0.5068 MB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1097, allocations: 8.031 kB / 362.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.1099, allocations: 36.64 kB / 362.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1102, allocations: 236.6 kB / 362.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.1102, allocations: 20.75 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.1103, allocations: 28.22 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.1106, allocations: 214.2 kB / 362.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1106, allocations: 4 kB / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1107, allocations: 4 kB / 362.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1107, allocations: 4 kB / 362.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.1109, allocations: 129.7 kB / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009507/0.1119, allocations: 0.7131 MB / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.1122, allocations: 138.5 kB / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.1123, allocations: 76.83 kB / 363.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1123, allocations: 4 kB / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.1124, allocations: 30.56 kB / 363.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.1124, allocations: 3.938 kB / 363.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001552/0.1139, allocations: 0.8932 MB / 364.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.114, allocations: 55.41 kB / 364.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1142, allocations: 176.3 kB / 365 MB, free: 6.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1142, allocations: 29.7 kB / 365.1 MB, free: 6.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.1143, allocations: 140.3 kB / 365.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.1144, allocations: 94.66 kB / 365.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.1145, allocations: 45.7 kB / 365.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1146, allocations: 330.8 kB / 365.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1147, allocations: 51.98 kB / 365.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1148, allocations: 100.2 kB / 365.8 MB, free: 5.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1151, allocations: 169.9 kB / 366 MB, free: 5.703 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1151, allocations: 0 / 366 MB, free: 5.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004246/0.1156, allocations: 254.1 kB / 366.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1156, allocations: 7.125 kB / 366.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1156, allocations: 0 / 366.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.1158, allocations: 40.78 kB / 366.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.116, allocations: 43.97 kB / 366.3 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.1172, allocations: 1.489 MB / 367.8 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1174, allocations: 12.09 kB / 367.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1174, allocations: 8 kB / 367.8 MB, free: 3.703 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.0001214/0.1175, allocations: 137.7 kB / 368 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.1176, allocations: 27.7 kB / 368 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.1176, allocations: 17.88 kB / 368 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1176, allocations: 7.938 kB / 368 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1176, allocations: 0 / 368 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1177, allocations: 0 / 368 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000858/0.1185, allocations: 0.6619 MB / 368.7 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1185, allocations: 4 kB / 368.7 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.1187, allocations: 40.05 kB / 368.7 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.1189, allocations: 36.77 kB / 368.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1189, allocations: 8 kB / 368.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.1199, allocations: 1.489 MB / 370.3 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.12, allocations: 3.938 kB / 370.3 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.1205, allocations: 409.1 kB / 370.7 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.1206, allocations: 92.95 kB / 370.7 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1206, allocations: 4 kB / 370.7 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1207, allocations: 11.94 kB / 370.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.1208, allocations: 31.91 kB / 370.8 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1208, allocations: 4 kB / 370.8 MB, free: 484 kB / 302.1 MB Notification: Performance of sorting global known variables: time 9.62e-05/0.1209, allocations: 128.1 kB / 370.9 MB, free: 356 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1209, allocations: 0 / 370.9 MB, free: 356 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.1212, allocations: 60 kB / 371 MB, free: 296 kB / 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.0001337/0.1214, allocations: 99.78 kB / 371.1 MB, free: 184 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1664/0.2878, allocations: 302.6 kB / 371.4 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.2878, allocations: 3.75 kB / 371.4 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.2884, allocations: 210.4 kB / 371.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.2891, allocations: 40.08 kB / 371.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2905, allocations: 0.7948 MB / 372.4 MB, free: 19.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2907, allocations: 0.7468 MB / 373.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.2908, allocations: 20.16 kB / 373.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of SimCode: time 1.402e-06/0.2908, allocations: 0 / 373.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of Templates: time 0.006782/0.2976, allocations: 3.486 MB / 376.7 MB, free: 18.76 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/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