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.0009297/0.0009298, allocations: 97.02 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 205.9 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 247.5 MB, free: 9.473 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002397/0.0002398, allocations: 8 kB / 308.4 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 51.52 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002796/0.1046, allocations: 2.049 MB / 362 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.106, allocations: 0.6429 MB / 362.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.1062, allocations: 4 kB / 362.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.1064, allocations: 23.78 kB / 362.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.1066, allocations: 63.47 kB / 362.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1069, allocations: 51.95 kB / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.1073, allocations: 250.7 kB / 363 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.1075, allocations: 80.72 kB / 363.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1078, allocations: 91.64 kB / 363.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.108, allocations: 95.44 kB / 363.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.108, allocations: 8 kB / 363.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.1081, allocations: 23.98 kB / 363.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.1081, allocations: 27.86 kB / 363.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1083, allocations: 141 kB / 363.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1085, allocations: 183.7 kB / 363.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1085, allocations: 0 / 363.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1085, allocations: 4 kB / 363.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1085, allocations: 0 / 363.6 MB, free: 9.309 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.0007084/0.1092, allocations: 479.1 kB / 364.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1093, allocations: 12.03 kB / 364.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.1095, allocations: 40.64 kB / 364.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1098, allocations: 240.5 kB / 364.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1098, allocations: 12.81 kB / 364.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.1099, allocations: 28.28 kB / 364.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.1103, allocations: 214.2 kB / 364.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1103, allocations: 0 / 364.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1103, allocations: 8 kB / 364.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1104, allocations: 11.98 kB / 364.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.1106, allocations: 133.6 kB / 364.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1117, allocations: 0.7171 MB / 365.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.112, allocations: 146.5 kB / 365.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.1121, allocations: 72.83 kB / 365.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1121, allocations: 4 kB / 365.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1122, allocations: 34.56 kB / 365.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 2.816e-06/0.1122, allocations: 0 / 365.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001589/0.1138, allocations: 0.9034 MB / 366.7 MB, free: 6.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1138, allocations: 55.41 kB / 366.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.114, allocations: 176.3 kB / 366.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.114, allocations: 29.7 kB / 366.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.1141, allocations: 148.2 kB / 367.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.1142, allocations: 78.77 kB / 367.1 MB, free: 5.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.1143, allocations: 29.7 kB / 367.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1144, allocations: 334.8 kB / 367.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1145, allocations: 55.97 kB / 367.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.1147, allocations: 100.3 kB / 367.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.115, allocations: 177.9 kB / 367.8 MB, free: 4.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.115, allocations: 7.938 kB / 367.8 MB, free: 4.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004566/0.1155, allocations: 254 kB / 368.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1155, allocations: 8 kB / 368.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1155, allocations: 0 / 368.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.1157, allocations: 32.95 kB / 368.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.1159, allocations: 63.84 kB / 368.2 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.1171, allocations: 1.37 MB / 369.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1173, allocations: 8.031 kB / 369.5 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.1173, allocations: 15.94 kB / 369.6 MB, free: 2.867 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.0001294/0.1174, allocations: 137.8 kB / 369.7 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.1175, allocations: 15.81 kB / 369.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.1175, allocations: 25.86 kB / 369.7 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1175, allocations: 0 / 369.7 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1176, allocations: 8.062 kB / 369.7 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1176, allocations: 0 / 369.7 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009249/0.1185, allocations: 0.6673 MB / 370.4 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1185, allocations: 0 / 370.4 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.1187, allocations: 43.98 kB / 370.5 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.1188, allocations: 36.77 kB / 370.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.1189, allocations: 8 kB / 370.5 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.12, allocations: 1.378 MB / 371.9 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1201, allocations: 7.875 kB / 371.9 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1782/0.2983, allocations: 399.4 kB / 372.3 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.2984, allocations: 96.39 kB / 372.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.2985, allocations: 6.359 kB / 372.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2987, allocations: 8.781 kB / 372.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.2988, allocations: 16.95 kB / 372.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.2988, allocations: 7.906 kB / 372.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.2989, allocations: 128.2 kB / 372.5 MB, free: 18.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2989, allocations: 3.812 kB / 372.5 MB, free: 18.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004585/0.2994, allocations: 58.19 kB / 372.6 MB, free: 18.52 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.0001516/0.2996, allocations: 106.7 kB / 372.7 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007027/0.3003, allocations: 300.8 kB / 373 MB, free: 18.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3003, allocations: 0 / 373 MB, free: 18.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.3006, allocations: 219.8 kB / 373.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.3011, allocations: 38.12 kB / 373.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3025, allocations: 0.8753 MB / 374.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3028, allocations: 0.7505 MB / 374.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.3028, allocations: 20.11 kB / 374.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3029, allocations: 0.5 kB / 374.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of Templates: time 0.007846/0.3107, allocations: 3.443 MB / 378.3 MB, free: 16.75 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