Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.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.001342/0.001342, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001483/0.001483, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2504/0.2504, allocations: 46.95 MB / 361.6 MB, free: 4.02 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+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.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_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_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 71.83 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2933, allocations: 66.03 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004554/0.2978, allocations: 2.823 MB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.2999, allocations: 1.005 MB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.3, allocations: 15.88 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.3002, allocations: 55.38 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.3004, allocations: 130.9 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.3009, allocations: 167.6 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.3014, allocations: 461.8 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.3016, allocations: 87.98 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.3018, allocations: 171.4 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.302, allocations: 171.2 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.302, allocations: 32 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.3022, allocations: 51.98 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.3022, allocations: 79.69 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.3024, allocations: 155.3 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.3029, allocations: 452.5 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3029, allocations: 3.984 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3029, allocations: 0 / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3029, allocations: 0 / 0.5675 GB, free: 14.29 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.00103/0.3039, allocations: 0.5949 MB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.304, allocations: 8.031 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.3043, allocations: 68.62 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.3047, allocations: 233.7 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.3048, allocations: 25.38 kB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.3049, allocations: 44.27 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.3055, allocations: 363.6 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.3055, allocations: 8 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.3056, allocations: 8 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3056, allocations: 12 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.306, allocations: 223.7 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.3082, allocations: 1.394 MB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.3088, allocations: 295.7 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.309, allocations: 97.11 kB / 0.5707 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.309, allocations: 4 kB / 0.5708 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.309, allocations: 46.55 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.309, allocations: 0 / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006853/0.3097, allocations: 269.8 kB / 0.5711 GB, free: 10.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3098, allocations: 183.9 kB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3101, allocations: 233 kB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.3101, allocations: 29.7 kB / 0.5715 GB, free: 9.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3103, allocations: 224.3 kB / 0.5717 GB, free: 9.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/0.3103, allocations: 115.1 kB / 0.5718 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3104, allocations: 78.08 kB / 0.5719 GB, free: 9.453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3106, allocations: 342.8 kB / 0.5722 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3108, allocations: 76.84 kB / 0.5723 GB, free: 9.035 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.3111, allocations: 249.8 kB / 0.5725 GB, free: 8.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.3116, allocations: 365 kB / 0.5729 GB, free: 8.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3116, allocations: 0 / 0.5729 GB, free: 8.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006696/0.3123, allocations: 389.3 kB / 0.5732 GB, free: 7.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3123, allocations: 7.984 kB / 0.5732 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3123, allocations: 12.06 kB / 0.5733 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3123, allocations: 8 kB / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.3127, allocations: 103.8 kB / 0.5734 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.3127, allocations: 12 kB / 0.5734 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.313, allocations: 47.66 kB / 0.5734 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.313, allocations: 20 kB / 0.5734 GB, free: 7.688 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.0001627/0.3132, allocations: 161.8 kB / 0.5736 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.3133, allocations: 31.81 kB / 0.5736 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.3135, allocations: 91.33 kB / 0.5737 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3135, allocations: 4 kB / 0.5737 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3135, allocations: 4 kB / 0.5737 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3135, allocations: 3.984 kB / 0.5737 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.3141, allocations: 245.1 kB / 0.574 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3141, allocations: 3.938 kB / 0.574 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.3145, allocations: 83.89 kB / 0.574 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3145, allocations: 4 kB / 0.574 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.3145, allocations: 15.98 kB / 0.5741 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.3145, allocations: 4 kB / 0.5741 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3146, allocations: 0 / 0.5741 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.3153, allocations: 0.7703 MB / 0.5748 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.3154, allocations: 31.73 kB / 0.5748 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.3154, allocations: 8 kB / 0.5748 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.3158, allocations: 8 kB / 0.5749 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.3158, allocations: 23.95 kB / 0.5749 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.3158, allocations: 8 kB / 0.5749 GB, free: 6.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.316, allocations: 160.5 kB / 0.575 GB, free: 5.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.316, allocations: 0 / 0.575 GB, free: 5.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006121/0.3166, allocations: 99.94 kB / 0.5751 GB, free: 5.875 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,inertia6.w,inverseSpeedDependentTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (27): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001102/0.3167, allocations: 115 kB / 0.5752 GB, free: 5.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000456/0.3172, allocations: 225.2 kB / 0.5755 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3172, allocations: 0 / 0.5755 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.3173, allocations: 91.95 kB / 0.5755 GB, free: 5.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.3182, allocations: 88.94 kB / 0.5756 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.3203, allocations: 1.308 MB / 0.5769 GB, free: 4.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.3205, allocations: 190.5 kB / 0.5771 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.3206, allocations: 30.97 kB / 0.5771 GB, free: 3.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.3207, allocations: 31.36 kB / 0.5772 GB, free: 3.742 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3207, allocations: 0 / 0.5772 GB, free: 3.742 MB / 414.1 MB Notification: Performance of Templates: time 0.007897/0.3286, allocations: 3.619 MB / 0.5807 GB, free: 200 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.089211040001828]