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.001419/0.001419, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 63.39 kB / 307.1 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1101, allocations: 50.54 MB / 357.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004096/0.1143, allocations: 2.403 MB / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1155, allocations: 0.6467 MB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1157, allocations: 7.938 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.1159, allocations: 23.78 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1161, allocations: 63.53 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1163, allocations: 55.89 kB / 360.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.1167, allocations: 258.8 kB / 361.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.1169, allocations: 88.3 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1171, allocations: 103.6 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.1173, allocations: 107.5 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.1173, allocations: 24 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.1174, allocations: 20 kB / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.1174, allocations: 51.83 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1176, allocations: 115.4 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.1178, allocations: 191.8 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1179, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1179, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1179, allocations: 0 / 361.8 MB, free: 10.21 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.0008236/0.1187, allocations: 0.5146 MB / 362.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1188, allocations: 8.031 kB / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.119, allocations: 36.64 kB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1193, allocations: 236.6 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1193, allocations: 16.81 kB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/0.1193, allocations: 28.27 kB / 362.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.1197, allocations: 214.1 kB / 362.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1198, allocations: 4 kB / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.1198, allocations: 12 kB / 362.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1198, allocations: 4 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.1201, allocations: 125.7 kB / 363 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.1212, allocations: 0.7054 MB / 363.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.1215, allocations: 150.5 kB / 363.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1216, allocations: 72.83 kB / 363.9 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1217, allocations: 7.938 kB / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.1217, allocations: 34.56 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.1217, allocations: 0 / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.00169/0.1234, allocations: 0.8894 MB / 364.9 MB, free: 6.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1235, allocations: 55.34 kB / 364.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1237, allocations: 176.3 kB / 365.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1237, allocations: 33.7 kB / 365.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1238, allocations: 140.2 kB / 365.3 MB, free: 6.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.761e-05/0.1239, allocations: 86.67 kB / 365.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.124, allocations: 45.7 kB / 365.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1242, allocations: 334.8 kB / 365.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1243, allocations: 59.97 kB / 365.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1244, allocations: 88.27 kB / 365.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.1248, allocations: 181.9 kB / 366 MB, free: 5.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1248, allocations: 0 / 366 MB, free: 5.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004519/0.1252, allocations: 246 kB / 366.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1253, allocations: 8 kB / 366.3 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1253, allocations: 4.125 kB / 366.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.1254, allocations: 32.83 kB / 366.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1257, allocations: 51.92 kB / 366.4 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.1271, allocations: 1.477 MB / 367.8 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.1272, allocations: 15.98 kB / 367.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1273, allocations: 15.98 kB / 367.9 MB, free: 3.645 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.0001438/0.1274, allocations: 133.8 kB / 368 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.1275, allocations: 19.72 kB / 368 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.1275, allocations: 29.86 kB / 368.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1275, allocations: 7.938 kB / 368.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1276, allocations: 0 / 368.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1276, allocations: 0 / 368.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009907/0.1286, allocations: 0.6504 MB / 368.7 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1286, allocations: 0 / 368.7 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.1288, allocations: 51.91 kB / 368.8 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.1289, allocations: 32.91 kB / 368.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.129, allocations: 8 kB / 368.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.1303, allocations: 1.481 MB / 370.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1303, allocations: 0 / 370.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.131, allocations: 407.4 kB / 370.7 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.131, allocations: 92.86 kB / 370.8 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1311, allocations: 8 kB / 370.8 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1312, allocations: 4 kB / 370.8 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.1313, allocations: 31.89 kB / 370.8 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1313, allocations: 4 kB / 370.8 MB, free: 448 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1314, allocations: 136 kB / 370.9 MB, free: 312 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1314, allocations: 0 / 370.9 MB, free: 312 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.1318, allocations: 56 kB / 371 MB, free: 256 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.0001346/0.1319, allocations: 99.78 kB / 371.1 MB, free: 144 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.162/0.2939, allocations: 303.5 kB / 371.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.294, allocations: 0 / 371.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.2944, allocations: 213.9 kB / 371.6 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.295, allocations: 45.11 kB / 371.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2964, allocations: 0.799 MB / 372.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2966, allocations: 0.7508 MB / 373.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.2966, allocations: 20.61 kB / 373.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2967, allocations: 0 / 373.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of Templates: time 0.00746/0.3041, allocations: 3.48 MB / 376.7 MB, free: 18.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 -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.1.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