Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 104.2 kB / 17.58 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 51.92 kB / 280.6 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09655, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003652/0.1002, allocations: 2.341 MB / 329.6 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1014, allocations: 0.6241 MB / 330.2 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1016, allocations: 4 kB / 330.2 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.1018, allocations: 35.59 kB / 330.3 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.102, allocations: 75.33 kB / 330.4 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.1022, allocations: 59.86 kB / 330.4 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.1026, allocations: 250.8 kB / 330.7 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.1027, allocations: 88.3 kB / 330.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1029, allocations: 99.64 kB / 330.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.103, allocations: 107.5 kB / 330.9 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.1031, allocations: 16 kB / 331 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.905e-05/0.1031, allocations: 20 kB / 331 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.1032, allocations: 43.84 kB / 331 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1033, allocations: 119.4 kB / 331.1 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1036, allocations: 251.3 kB / 331.4 MB, free: 332 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1036, allocations: 0 / 331.4 MB, free: 332 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1036, allocations: 4 kB / 331.4 MB, free: 328 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1036, allocations: 0 / 331.4 MB, free: 328 kB / 270.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.0006763/0.1043, allocations: 0.4952 MB / 331.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1043, allocations: 15.89 kB / 331.9 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.1044, allocations: 32.5 kB / 331.9 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1046, allocations: 236.6 kB / 332.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1047, allocations: 16.81 kB / 332.2 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.1047, allocations: 28.31 kB / 332.2 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.1051, allocations: 214.2 kB / 332.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1051, allocations: 0 / 332.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.1051, allocations: 8 kB / 332.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1051, allocations: 4 kB / 332.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.1054, allocations: 125.7 kB / 332.5 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.1063, allocations: 0.7131 MB / 333.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.1066, allocations: 158.5 kB / 333.4 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1068, allocations: 68.83 kB / 333.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1068, allocations: 0 / 333.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1068, allocations: 30.56 kB / 333.5 MB, free: 14.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.1068, allocations: 0 / 333.5 MB, free: 14.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001535/0.1084, allocations: 0.8892 MB / 334.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1084, allocations: 55.41 kB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1086, allocations: 174.7 kB / 334.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1086, allocations: 29.7 kB / 334.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.1087, allocations: 140.3 kB / 334.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.1088, allocations: 94.64 kB / 334.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.1088, allocations: 45.7 kB / 334.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.109, allocations: 330.8 kB / 335.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.1091, allocations: 59.97 kB / 335.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.1092, allocations: 92.27 kB / 335.4 MB, free: 11.97 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.1095, allocations: 172.1 kB / 335.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1095, allocations: 0 / 335.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004178/0.1099, allocations: 254 kB / 335.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.11, allocations: 8 kB / 335.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.11, allocations: 0 / 335.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.1101, allocations: 36.77 kB / 335.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.1103, allocations: 47.98 kB / 335.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.1116, allocations: 1.488 MB / 337.4 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1117, allocations: 12.02 kB / 337.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1117, allocations: 15.94 kB / 337.4 MB, free: 9.777 MB / 286.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.0001101/0.1119, allocations: 129.8 kB / 337.6 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.1119, allocations: 15.81 kB / 337.6 MB, free: 9.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.112, allocations: 25.88 kB / 337.6 MB, free: 9.602 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.112, allocations: 7.938 kB / 337.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.112, allocations: 64 / 337.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.112, allocations: 7.984 kB / 337.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008471/0.1128, allocations: 0.6479 MB / 338.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1129, allocations: 4.062 kB / 338.3 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.1131, allocations: 47.97 kB / 338.3 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.1132, allocations: 32.84 kB / 338.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.1132, allocations: 8 kB / 338.3 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.1143, allocations: 1.485 MB / 339.8 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1144, allocations: 0 / 339.8 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.1149, allocations: 402 kB / 340.2 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.115, allocations: 92.95 kB / 340.3 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.115, allocations: 8 kB / 340.3 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.1151, allocations: 15.94 kB / 340.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.1152, allocations: 19.91 kB / 340.4 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1152, allocations: 8 kB / 340.4 MB, free: 6.566 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.892e-05/0.1153, allocations: 128.8 kB / 340.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1153, allocations: 0 / 340.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1156, allocations: 56 kB / 340.5 MB, free: 6.387 MB / 286.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.0001303/0.1158, allocations: 103.2 kB / 340.6 MB, free: 6.273 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005808/0.1164, allocations: 306.2 kB / 340.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1164, allocations: 3.938 kB / 341 MB, free: 5.957 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.1167, allocations: 211 kB / 341.2 MB, free: 5.738 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.1171, allocations: 48.28 kB / 341.2 MB, free: 5.691 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.1184, allocations: 0.6773 MB / 341.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.1188, allocations: 0.7443 MB / 342.6 MB, free: 4.215 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.117e-05/0.1189, allocations: 25.94 kB / 342.7 MB, free: 4.191 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.1189, allocations: 19.44 kB / 342.7 MB, free: 4.172 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.119, allocations: 3.938 kB / 342.7 MB, free: 4.168 MB / 286.1 MB Notification: Performance of Templates: time 0.006371/0.1253, allocations: 2.357 MB / 345 MB, free: 1.816 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches