Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 77.78 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] 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.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction") translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 66.38 kB / 325.5 MB, free: 404 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1041, allocations: 53.38 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.004772/0.1089, allocations: 2.915 MB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1113, allocations: 1.278 MB / 383.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.1115, allocations: 11.94 kB / 383.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.112, allocations: 103.1 kB / 383.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.1122, allocations: 122.9 kB / 383.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009193/0.1132, allocations: 435 kB / 383.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008401/0.114, allocations: 0.8231 MB / 384.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.1142, allocations: 61.75 kB / 384.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.1147, allocations: 375.1 kB / 385 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.1164, allocations: 1.443 MB / 386.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.1165, allocations: 76 kB / 386.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.1168, allocations: 136 kB / 386.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.117, allocations: 235.8 kB / 386.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.1173, allocations: 294.5 kB / 387.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009842/0.1183, allocations: 0.93 MB / 388.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1183, allocations: 0 / 388.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1183, allocations: 0 / 388.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.1183, allocations: 0 / 388.1 MB, free: 6.398 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.003878/0.1222, allocations: 1.435 MB / 389.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1223, allocations: 15.98 kB / 389.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004993/0.1228, allocations: 104.4 kB / 389.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.1234, allocations: 382.2 kB / 390 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.1235, allocations: 33.38 kB / 390.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/0.1235, allocations: 36.38 kB / 390.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.125, allocations: 0.6381 MB / 390.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.1251, allocations: 3.953 kB / 390.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/0.1251, allocations: 16 kB / 390.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.1252, allocations: 15.94 kB / 390.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.1271, allocations: 0.6817 MB / 391.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/0.1307, allocations: 1.438 MB / 392.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.1321, allocations: 476.8 kB / 393.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.1329, allocations: 286.1 kB / 393.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.133, allocations: 4 kB / 393.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/0.1342, allocations: 495.1 kB / 394.1 MB, free: 196 kB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/0.1342, allocations: 0 / 394.1 MB, free: 196 kB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.009394/0.1436, allocations: 2.433 MB / 396.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.1436, allocations: 89.09 kB / 396.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.1447, allocations: 0.9218 MB / 397.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/0.1448, allocations: 49.69 kB / 397.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.1451, allocations: 300.6 kB / 397.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.1453, allocations: 170.7 kB / 398.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.1455, allocations: 122.3 kB / 398.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.1457, allocations: 382.7 kB / 398.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009625/0.1467, allocations: 321.1 kB / 398.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.1478, allocations: 418.9 kB / 399.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.1493, allocations: 0.506 MB / 399.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1494, allocations: 0 / 399.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003006/0.1524, allocations: 0.9957 MB / 400.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1524, allocations: 4 kB / 400.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1524, allocations: 4 kB / 400.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.1536, allocations: 0.5567 MB / 401.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.1541, allocations: 111.9 kB / 401.5 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/0.161, allocations: 4.452 MB / 405.9 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.1626, allocations: 231.7 kB / 406.1 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/0.1626, allocations: 31.98 kB / 406.2 MB, free: 3.699 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 28 (supportFriction.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,stop1.stopped,stop1.mode,$PRE.stop1.mode,stop1.locked,stop1.startBackward,$PRE.stop1.startBackward,stop1.startForward,$PRE.stop1.startForward,stop1.free,$whenCondition2,stop2.stopped,stop2.mode,$PRE.stop2.mode,stop2.locked,stop2.startBackward,$PRE.stop2.startBackward,stop2.startForward,$PRE.stop2.startForward,stop2.free,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004603/0.1631, allocations: 248.3 kB / 406.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.1632, allocations: 79.47 kB / 406.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.1634, allocations: 106.1 kB / 406.6 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.1634, allocations: 8 kB / 406.6 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1634, allocations: 0 / 406.6 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1635, allocations: 3.984 kB / 406.6 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.1666, allocations: 1.22 MB / 407.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.1666, allocations: 4 kB / 407.8 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.1671, allocations: 83.88 kB / 407.9 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.1682, allocations: 0.5061 MB / 408.4 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.1682, allocations: 27.91 kB / 408.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006138/0.1744, allocations: 4.087 MB / 412.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1744, allocations: 3.984 kB / 412.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/0.1782, allocations: 1.255 MB / 413.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.1785, allocations: 139.4 kB / 413.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.1786, allocations: 20 kB / 413.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.1804, allocations: 267.6 kB / 414.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/0.1819, allocations: 0.581 MB / 414.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.762e-05/0.1819, allocations: 31.95 kB / 414.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007515/0.1827, allocations: 0.6631 MB / 415.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1827, allocations: 0 / 415.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000793/0.1835, allocations: 187.9 kB / 415.7 MB, free: 9.859 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (stop2.s,stop2.v,stop1.s,stop1.v,mass.s,mass.v) * Number of discrete variables: 18 ($whenCondition1,stop2.free,stop2.startForward,stop2.startBackward,stop2.locked,stop2.mode,stop2.stopped,$whenCondition2,stop1.free,stop1.startForward,stop1.startBackward,stop1.locked,stop1.mode,stop1.stopped,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode) * Number of discrete states: 9 (supportFriction.mode,supportFriction.startForward,supportFriction.startBackward,stop1.mode,stop1.startBackward,stop1.startForward,stop2.mode,stop2.startBackward,stop2.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,5), (1,5), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/0.185, allocations: 423.9 kB / 416.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.1875, allocations: 0.9225 MB / 417 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1875, allocations: 0 / 417 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.189, allocations: 0.6506 MB / 417.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.1896, allocations: 70.89 kB / 417.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.1941, allocations: 1.903 MB / 419.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.1946, allocations: 330.5 kB / 419.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.1948, allocations: 47.27 kB / 420 MB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.195, allocations: 48.47 kB / 420 MB, free: 5.496 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.195, allocations: 0 / 420 MB, free: 5.496 MB / 382.1 MB Notification: Performance of Templates: time 0.0246/0.2196, allocations: 14.19 MB / 434.2 MB, free: 7.348 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Friction/Friction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.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: 5.100630828063004]