Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 170.5 kB / 25.61 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1666/0.1666, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 379.2 MB, free: 23.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.326e-05, allocations: 9.828 kB / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004434/0.004467, allocations: 3.087 MB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.006446, allocations: 1.059 MB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.006761, allocations: 7.938 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.006975, allocations: 67.36 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.007281, allocations: 138.8 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.007891, allocations: 183.4 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005087/0.0084, allocations: 489.5 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.008592, allocations: 75.98 kB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.008888, allocations: 255.4 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.009087, allocations: 135.6 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/0.009143, allocations: 32 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.009278, allocations: 51.98 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.009339, allocations: 83.66 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.009471, allocations: 139.7 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004266/0.009897, allocations: 314.8 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.009903, allocations: 0 / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009904, allocations: 4 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.009912, allocations: 3.938 kB / 385.3 MB, free: 17.33 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0009616/0.01087, allocations: 0.7298 MB / 386.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.01091, allocations: 12.03 kB / 386.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.01126, allocations: 96.64 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.01158, allocations: 251.4 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.01161, allocations: 25.38 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.01167, allocations: 40.33 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.01208, allocations: 313.7 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.0121, allocations: 8.141 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.01213, allocations: 19.94 kB / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.01214, allocations: 8 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.01239, allocations: 133.8 kB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.01385, allocations: 1.56 MB / 388.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.01428, allocations: 338.8 kB / 388.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.01439, allocations: 106.1 kB / 388.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.01442, allocations: 8.328 kB / 389 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.01445, allocations: 57.25 kB / 389 MB, free: 13.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.757e-06/0.01445, allocations: 0 / 389 MB, free: 13.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.001849/0.0163, allocations: 1.152 MB / 390.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.01634, allocations: 195.9 kB / 390.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.0165, allocations: 296.1 kB / 390.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.01652, allocations: 29.7 kB / 390.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.01661, allocations: 247.4 kB / 390.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.0167, allocations: 198.3 kB / 391.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.01681, allocations: 104 kB / 391.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.01688, allocations: 0.5195 MB / 391.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.219e-05/0.01698, allocations: 49.27 kB / 391.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.01715, allocations: 306.5 kB / 392.1 MB, free: 9.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.01748, allocations: 416.5 kB / 392.5 MB, free: 9.422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01748, allocations: 0 / 392.5 MB, free: 9.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004678/0.01795, allocations: 389.8 kB / 392.9 MB, free: 9.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.01797, allocations: 11.98 kB / 392.9 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.01798, allocations: 4.438 kB / 392.9 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.018, allocations: 16 kB / 392.9 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.01836, allocations: 139.8 kB / 393 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.01837, allocations: 8 kB / 393 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.01854, allocations: 19.95 kB / 393.1 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.01856, allocations: 20 kB / 393.1 MB, free: 8.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.01867, allocations: 212.2 kB / 393.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.0188, allocations: 47.81 kB / 393.3 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.01896, allocations: 111.4 kB / 393.4 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.01896, allocations: 4 kB / 393.4 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.01897, allocations: 8 kB / 393.5 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.01898, allocations: 0 / 393.5 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.02014, allocations: 1.245 MB / 394.7 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.02014, allocations: 4.312 kB / 394.7 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.02051, allocations: 119.9 kB / 394.8 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.02052, allocations: 8 kB / 394.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.02054, allocations: 16 kB / 394.8 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.02055, allocations: 15.86 kB / 394.9 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.02055, allocations: 4 kB / 394.9 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.02111, allocations: 1.16 MB / 396 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.02115, allocations: 31.81 kB / 396.1 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.02119, allocations: 12 kB / 396.1 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.0215, allocations: 19.94 kB / 396.1 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.02156, allocations: 39.94 kB / 396.1 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.02158, allocations: 15.98 kB / 396.1 MB, free: 5.594 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.19e-05/0.02165, allocations: 193 kB / 396.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02165, allocations: 3.938 kB / 396.3 MB, free: 5.395 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005783/0.02223, allocations: 103.9 kB / 396.4 MB, free: 5.293 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.02235, allocations: 111.1 kB / 396.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.02273, allocations: 264.8 kB / 396.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.02273, allocations: 0 / 396.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.02288, allocations: 130 kB / 396.9 MB, free: 4.785 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000716/0.0236, allocations: 97.05 kB / 397 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.02488, allocations: 1.214 MB / 398.2 MB, free: 3.387 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.368e-05/0.02497, allocations: 113.9 kB / 398.3 MB, free: 3.254 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.02511, allocations: 51.28 kB / 398.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.02526, allocations: 150.2 kB / 398.5 MB, free: 3.055 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02526, allocations: 4 kB / 398.5 MB, free: 3.051 MB / 314.7 MB Notification: Performance of Templates: time 0.006878/0.03214, allocations: 4.282 MB / 402.8 MB, free: 14.86 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.357025678269565]