Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake.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.001844/0.001844, allocations: 110.5 kB / 21.18 MB, free: 0.7617 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.002191/0.002191, allocations: 219.9 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.5 MB / 258.1 MB, free: 8.125 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake") translateModel(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 71.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2118, allocations: 53.32 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.004213/0.216, allocations: 2.6 MB / 434.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2172, allocations: 0.5849 MB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.2173, allocations: 7.938 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.2176, allocations: 71.38 kB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.2179, allocations: 135.1 kB / 435.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.2183, allocations: 167.7 kB / 435.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.2188, allocations: 0.5069 MB / 436.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.219, allocations: 44.73 kB / 436.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.2193, allocations: 235.3 kB / 436.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.2196, allocations: 243.2 kB / 436.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.354e-05/0.2197, allocations: 40 kB / 436.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.2199, allocations: 111.9 kB / 436.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.22, allocations: 111.6 kB / 436.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.2202, allocations: 191.1 kB / 437.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.2209, allocations: 0.5074 MB / 437.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2209, allocations: 0 / 437.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2209, allocations: 0 / 437.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.2209, allocations: 0 / 437.6 MB, free: 1.828 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001468/0.2223, allocations: 0.7166 MB / 438.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2224, allocations: 8.031 kB / 438.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.2225, allocations: 40.7 kB / 438.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.2229, allocations: 295.8 kB / 438.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.223, allocations: 29.03 kB / 438.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.232e-05/0.2231, allocations: 32.36 kB / 438.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007674/0.2238, allocations: 378.4 kB / 439.1 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.2239, allocations: 4.141 kB / 439.1 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.2239, allocations: 15.92 kB / 439.1 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2239, allocations: 8 kB / 439.1 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008902/0.2248, allocations: 386.5 kB / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.227, allocations: 1.139 MB / 440.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.2277, allocations: 306.7 kB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.2281, allocations: 184.7 kB / 441.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.2281, allocations: 4 kB / 441.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2281, allocations: 34.56 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.2281, allocations: 4 kB / 441.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.005068/0.2332, allocations: 1.996 MB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2332, allocations: 59.84 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.2335, allocations: 256.9 kB / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.2336, allocations: 37.7 kB / 443.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2337, allocations: 165 kB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.2339, allocations: 178.5 kB / 443.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.2341, allocations: 98.12 kB / 443.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2342, allocations: 346.8 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.2347, allocations: 189 kB / 444.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.2351, allocations: 264.8 kB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.2358, allocations: 361.6 kB / 445 MB, free: 9.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2358, allocations: 3.938 kB / 445 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001291/0.2371, allocations: 0.6068 MB / 445.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2371, allocations: 8 kB / 445.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2372, allocations: 0 / 445.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007515/0.2379, allocations: 341.7 kB / 446 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.2382, allocations: 67.89 kB / 446 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.2396, allocations: 1.362 MB / 447.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.2401, allocations: 75.98 kB / 447.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.2402, allocations: 16 kB / 447.5 MB, free: 7.406 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake1.mode,$PRE.brake1.mode,brake1.locked,brake1.startBackward,$PRE.brake1.startBackward,brake1.startForward,$PRE.brake1.startForward,brake1.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,9), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.2404, allocations: 163.3 kB / 447.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2405, allocations: 39.73 kB / 447.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.2406, allocations: 47.62 kB / 447.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2406, allocations: 3.984 kB / 447.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2406, allocations: 0 / 447.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.2408, allocations: 160.8 kB / 447.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.2409, allocations: 16.19 kB / 447.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.2414, allocations: 59.92 kB / 448 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.2416, allocations: 92.17 kB / 448.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001926/0.2435, allocations: 0.6573 MB / 448.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001446/0.2449, allocations: 0.8183 MB / 449.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004169/0.2453, allocations: 191.4 kB / 449.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.2455, allocations: 180.5 kB / 449.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.2455, allocations: 0 / 449.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002941/0.2485, allocations: 0.7952 MB / 450.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of SimCode: time 0.001661/0.2501, allocations: 1.343 MB / 452 MB, free: 2.965 MB / 350.1 MB Notification: Performance of Templates: time 0.01479/0.2649, allocations: 8.71 MB / 460.8 MB, free: 10.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Brake/Brake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake.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: 4.434677259996533]