Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 119.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002396/0.002396, allocations: 196.3 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 51.91 kB / 358.7 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 49.43 MB / 408.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003861/0.1068, allocations: 2.353 MB / 410.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.108, allocations: 0.5765 MB / 411 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.1081, allocations: 4 kB / 411 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1083, allocations: 35.66 kB / 411.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.1085, allocations: 75.33 kB / 411.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1087, allocations: 51.88 kB / 411.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.109, allocations: 262.8 kB / 411.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.1092, allocations: 80.36 kB / 411.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.1094, allocations: 103.6 kB / 411.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1096, allocations: 107.5 kB / 411.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.1096, allocations: 23.94 kB / 411.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.852e-05/0.1096, allocations: 16 kB / 411.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.1097, allocations: 47.83 kB / 411.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1098, allocations: 107.5 kB / 411.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.1102, allocations: 254.9 kB / 412.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1102, allocations: 0 / 412.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1102, allocations: 0 / 412.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1102, allocations: 4 kB / 412.2 MB, free: 2.781 MB / 334.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.0008084/0.111, allocations: 0.5143 MB / 412.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1111, allocations: 11.89 kB / 412.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.1111, allocations: 32.75 kB / 412.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.1115, allocations: 237.4 kB / 413 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.1116, allocations: 16.81 kB / 413 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.1116, allocations: 24.38 kB / 413 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.112, allocations: 210.2 kB / 413.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.112, allocations: 11.89 kB / 413.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.1121, allocations: 8 kB / 413.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.1121, allocations: 4 kB / 413.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.1123, allocations: 125.7 kB / 413.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1134, allocations: 0.7017 MB / 414.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.1137, allocations: 146.5 kB / 414.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1138, allocations: 72.83 kB / 414.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1139, allocations: 4 kB / 414.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1139, allocations: 38.5 kB / 414.3 MB, free: 476 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.1139, allocations: 0 / 414.3 MB, free: 476 kB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001689/0.1156, allocations: 0.8879 MB / 415.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1157, allocations: 63.41 kB / 415.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1159, allocations: 171.2 kB / 415.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1159, allocations: 29.7 kB / 415.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.116, allocations: 144.4 kB / 415.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.1161, allocations: 95.16 kB / 415.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.1162, allocations: 45.7 kB / 415.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1164, allocations: 334.8 kB / 416.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1165, allocations: 55.98 kB / 416.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.1167, allocations: 104.2 kB / 416.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.117, allocations: 176.8 kB / 416.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.117, allocations: 0 / 416.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004616/0.1175, allocations: 250.1 kB / 416.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1175, allocations: 4 kB / 416.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1175, allocations: 4 kB / 416.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/0.1177, allocations: 28.97 kB / 416.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.1179, allocations: 59.91 kB / 416.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.1194, allocations: 1.481 MB / 418.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1195, allocations: 8 kB / 418.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1195, allocations: 8 kB / 418.2 MB, free: 12.23 MB / 350.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.0001382/0.1197, allocations: 133.8 kB / 418.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.1197, allocations: 23.84 kB / 418.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.1198, allocations: 25.88 kB / 418.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.1198, allocations: 12 kB / 418.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1198, allocations: 0 / 418.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1198, allocations: 0 / 418.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009978/0.1208, allocations: 0.6493 MB / 419.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1208, allocations: 0 / 419.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.121, allocations: 43.98 kB / 419.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.1212, allocations: 44.95 kB / 419.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1212, allocations: 0 / 419.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.1226, allocations: 1.492 MB / 420.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1226, allocations: 0 / 420.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.1232, allocations: 408.7 kB / 421 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.1233, allocations: 96.97 kB / 421.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.1233, allocations: 8.031 kB / 421.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1235, allocations: 8 kB / 421.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.1235, allocations: 15.92 kB / 421.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.1236, allocations: 11.98 kB / 421.2 MB, free: 9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1237, allocations: 132.8 kB / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1237, allocations: 0 / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003387/0.124, allocations: 60 kB / 421.4 MB, free: 8.812 MB / 350.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.0001422/0.1242, allocations: 107.1 kB / 421.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.1248, allocations: 286.7 kB / 421.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1248, allocations: 4.062 kB / 421.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.1251, allocations: 214.5 kB / 422 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.1255, allocations: 44.08 kB / 422 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1268, allocations: 0.7067 MB / 422.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.1273, allocations: 0.7443 MB / 423.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.1273, allocations: 19.44 kB / 423.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1273, allocations: 0 / 423.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of Templates: time 0.005869/0.1332, allocations: 3.475 MB / 427 MB, free: 3.121 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.80491466098465]