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.001942/0.001942, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002295/0.002296, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 66.41 kB / 307 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1058, allocations: 50.53 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003739/0.1096, allocations: 2.365 MB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1107, allocations: 0.6466 MB / 360.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1108, allocations: 7.938 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.111, allocations: 31.66 kB / 360.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.1111, allocations: 75.34 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1114, allocations: 59.86 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.1117, allocations: 262.8 kB / 361 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1119, allocations: 84.3 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.1121, allocations: 103.6 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1122, allocations: 111.5 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.1123, allocations: 20 kB / 361.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.1124, allocations: 20 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.1124, allocations: 51.83 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1125, allocations: 115.4 kB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1128, allocations: 255.3 kB / 361.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1128, allocations: 3.938 kB / 361.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1128, allocations: 0 / 361.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1129, allocations: 0 / 361.7 MB, free: 9.848 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.0007372/0.1136, allocations: 0.5107 MB / 362.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1136, allocations: 12.03 kB / 362.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.1138, allocations: 36.64 kB / 362.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1141, allocations: 242.2 kB / 362.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.1141, allocations: 16.81 kB / 362.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.1142, allocations: 20.28 kB / 362.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.1146, allocations: 222 kB / 362.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1146, allocations: 4 kB / 362.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1146, allocations: 8 kB / 362.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.1146, allocations: 8 kB / 362.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.1149, allocations: 129.7 kB / 362.9 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1159, allocations: 0.7092 MB / 363.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.1162, allocations: 142.5 kB / 363.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.1164, allocations: 76.83 kB / 363.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1164, allocations: 4 kB / 363.8 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1164, allocations: 30.56 kB / 363.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.1164, allocations: 0 / 363.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001606/0.118, allocations: 0.8909 MB / 364.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1181, allocations: 59.41 kB / 364.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1183, allocations: 176.3 kB / 365 MB, free: 6.289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1183, allocations: 29.7 kB / 365 MB, free: 6.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.1184, allocations: 144.2 kB / 365.1 MB, free: 6.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.1185, allocations: 86.66 kB / 365.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.1186, allocations: 49.7 kB / 365.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1187, allocations: 334.8 kB / 365.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1189, allocations: 55.97 kB / 365.7 MB, free: 5.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.119, allocations: 100.2 kB / 365.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.1193, allocations: 169.9 kB / 365.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1193, allocations: 0 / 365.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004499/0.1198, allocations: 250 kB / 366.2 MB, free: 5.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1198, allocations: 15.03 kB / 366.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1198, allocations: 0 / 366.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.12, allocations: 44.75 kB / 366.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.1202, allocations: 43.98 kB / 366.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.1216, allocations: 1.477 MB / 367.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1217, allocations: 12.02 kB / 367.8 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.1218, allocations: 16.06 kB / 367.8 MB, free: 3.281 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.0001505/0.1219, allocations: 129.8 kB / 367.9 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.122, allocations: 27.72 kB / 367.9 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.1221, allocations: 25.86 kB / 368 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1221, allocations: 7.938 kB / 368 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1221, allocations: 4 kB / 368 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1221, allocations: 0 / 368 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.123, allocations: 0.648 MB / 368.6 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1231, allocations: 0 / 368.6 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.1234, allocations: 43.97 kB / 368.7 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001602/0.1236, allocations: 37.05 kB / 368.7 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.1236, allocations: 4 kB / 368.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.1254, allocations: 1.488 MB / 370.2 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1254, allocations: 0 / 370.2 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.126, allocations: 406 kB / 370.6 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.1261, allocations: 92.92 kB / 370.7 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1261, allocations: 4 kB / 370.7 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1263, allocations: 8 kB / 370.7 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.1263, allocations: 27.89 kB / 370.7 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1264, allocations: 8 kB / 370.7 MB, free: 72 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1592/0.2855, allocations: 127.7 kB / 370.8 MB, free: 19.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.2856, allocations: 0 / 370.8 MB, free: 19.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.286, allocations: 55.75 kB / 370.9 MB, free: 19.93 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.0001317/0.2862, allocations: 99.03 kB / 371 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006518/0.2868, allocations: 300.4 kB / 371.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2868, allocations: 1.344 kB / 371.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.2871, allocations: 216.6 kB / 371.5 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.2876, allocations: 44.75 kB / 371.5 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2887, allocations: 0.6866 MB / 372.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.2889, allocations: 0.7472 MB / 373 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.737e-05/0.289, allocations: 20.95 kB / 373 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.289, allocations: 18.53 kB / 373 MB, free: 18.57 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.289, allocations: 0 / 373 MB, free: 18.57 MB / 302.1 MB Notification: Performance of Templates: time 0.006098/0.2951, allocations: 2.374 MB / 375.4 MB, free: 18.43 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.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches