Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.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.007255/0.007255, allocations: 105.2 kB / 21.99 MB, free: 5.211 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.001988/0.001988, allocations: 212 kB / 25.3 MB, free: 3.207 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.484/1.484, allocations: 230.2 MB / 258.7 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2291/0.2291, allocations: 46.95 MB / 362.1 MB, free: 4.477 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Warning: Requested package Modelica 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.002364/0.002364, allocations: 83.84 kB / 0.4978 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3028, allocations: 66.03 MB / 0.5623 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004522/0.3073, allocations: 3.061 MB / 0.5653 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.3092, allocations: 1.087 MB / 0.5664 GB, free: 448 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.3093, allocations: 7.938 kB / 0.5664 GB, free: 440 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.3095, allocations: 67.31 kB / 0.5664 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.3097, allocations: 123 kB / 0.5666 GB, free: 248 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.3102, allocations: 179.4 kB / 0.5667 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.3107, allocations: 457.8 kB / 0.5672 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.3109, allocations: 83.98 kB / 0.5672 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.3111, allocations: 159.4 kB / 0.5674 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.3113, allocations: 179.2 kB / 0.5676 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.3114, allocations: 28 kB / 0.5676 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.3115, allocations: 55.92 kB / 0.5676 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.3116, allocations: 79.69 kB / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.3118, allocations: 195 kB / 0.5679 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.3123, allocations: 448.5 kB / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3123, allocations: 0 / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3123, allocations: 0 / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3123, allocations: 0 / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001074/0.3134, allocations: 0.6663 MB / 0.569 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3134, allocations: 8.031 kB / 0.569 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.3137, allocations: 72.62 kB / 0.5691 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.3141, allocations: 299.5 kB / 0.5693 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.3142, allocations: 21.38 kB / 0.5694 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.683e-05/0.3143, allocations: 44.33 kB / 0.5694 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.3149, allocations: 367.5 kB / 0.5698 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.3149, allocations: 4 kB / 0.5698 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.315, allocations: 20 kB / 0.5698 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.315, allocations: 8 kB / 0.5698 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.3154, allocations: 223 kB / 0.57 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.3177, allocations: 1.582 MB / 0.5715 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.3184, allocations: 307.6 kB / 0.5718 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.3185, allocations: 89.12 kB / 0.5719 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3186, allocations: 4 kB / 0.5719 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3186, allocations: 46.5 kB / 0.572 GB, free: 10.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.3186, allocations: 0 / 0.572 GB, free: 10.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.000713/0.3193, allocations: 269.4 kB / 0.5722 GB, free: 10.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.3194, allocations: 192 kB / 0.5724 GB, free: 9.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.3197, allocations: 241.8 kB / 0.5726 GB, free: 9.629 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3197, allocations: 33.7 kB / 0.5727 GB, free: 9.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3198, allocations: 208.3 kB / 0.5729 GB, free: 9.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.327e-05/0.3199, allocations: 119 kB / 0.573 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3201, allocations: 70.09 kB / 0.5731 GB, free: 9.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3202, allocations: 342.8 kB / 0.5734 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3204, allocations: 80.84 kB / 0.5735 GB, free: 8.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.3207, allocations: 257.7 kB / 0.5737 GB, free: 8.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.3213, allocations: 357.1 kB / 0.574 GB, free: 8.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.3213, allocations: 7.938 kB / 0.5741 GB, free: 8.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006824/0.322, allocations: 381.2 kB / 0.5744 GB, free: 7.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.322, allocations: 14.33 kB / 0.5744 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.322, allocations: 8.75 kB / 0.5744 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.322, allocations: 8 kB / 0.5744 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.3224, allocations: 107.8 kB / 0.5745 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.3224, allocations: 11.94 kB / 0.5746 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.3227, allocations: 47.66 kB / 0.5746 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.3227, allocations: 20.31 kB / 0.5746 GB, free: 7.418 MB / 414.1 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 (52): * Single equations (assignments): 52 * 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.0001683/0.3229, allocations: 162.8 kB / 0.5748 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.323, allocations: 31.81 kB / 0.5748 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.3232, allocations: 91.33 kB / 0.5749 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.3232, allocations: 7.984 kB / 0.5749 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3232, allocations: 0 / 0.5749 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/0.3233, allocations: 104.9 kB / 0.575 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.3233, allocations: 8 kB / 0.575 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.3237, allocations: 11.98 kB / 0.575 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.3237, allocations: 23.91 kB / 0.575 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001095/0.3248, allocations: 0.7473 MB / 0.5758 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009492/0.3258, allocations: 0.8823 MB / 0.5766 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001992/0.326, allocations: 83.94 kB / 0.5767 GB, free: 5.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.3261, allocations: 165.2 kB / 0.5769 GB, free: 5.035 MB / 414.1 MB Notification: Performance of Backend: time 4.11e-07/0.3261, allocations: 0 / 0.5769 GB, free: 5.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.3273, allocations: 266.8 kB / 0.5771 GB, free: 4.77 MB / 414.1 MB Notification: Performance of SimCode: time 0.002418/0.3297, allocations: 1.758 MB / 0.5788 GB, free: 2.961 MB / 414.1 MB Notification: Performance of Templates: time 0.009356/0.339, allocations: 4.162 MB / 0.5829 GB, free: 14.83 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.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.0431314969900995]