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.001598/0.001598, allocations: 73.33 kB / 21.24 MB, free: 0.5547 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.001645/0.001645, allocations: 158.2 kB / 24.5 MB, free: 3.715 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.472/1.472, allocations: 177.2 MB / 204.9 MB, free: 9.027 MB / 190.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.2157/0.2157, allocations: 34.27 MB / 295.5 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 179] 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.00205/0.00205, allocations: 67.88 kB / 443.1 MB, free: 6.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3422, allocations: 66.01 MB / 0.4972 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003216/0.3454, allocations: 2.831 MB / 0.5 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3468, allocations: 1.005 MB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.3469, allocations: 14.25 kB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3471, allocations: 62.78 kB / 0.501 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.3472, allocations: 127.1 kB / 0.5012 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.3477, allocations: 165 kB / 0.5013 GB, free: 27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.348, allocations: 463.5 kB / 0.5018 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.3482, allocations: 78.86 kB / 0.5018 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.3483, allocations: 168.4 kB / 0.502 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.3485, allocations: 158.2 kB / 0.5021 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.3486, allocations: 28.72 kB / 0.5022 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3487, allocations: 52.75 kB / 0.5022 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.3487, allocations: 71 kB / 0.5023 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3488, allocations: 166.3 kB / 0.5024 GB, free: 26.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.3492, allocations: 446.2 kB / 0.5029 GB, free: 26.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3492, allocations: 3.938 kB / 0.5029 GB, free: 26.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3492, allocations: 0 / 0.5029 GB, free: 26.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.3492, allocations: 4 kB / 0.5029 GB, free: 26.26 MB / 446.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.0008213/0.35, allocations: 0.5893 MB / 0.5035 GB, free: 25.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3501, allocations: 8.125 kB / 0.5035 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.3503, allocations: 70.48 kB / 0.5035 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.3506, allocations: 236.4 kB / 0.5038 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.3507, allocations: 25.62 kB / 0.5038 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.3507, allocations: 42.89 kB / 0.5038 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.3512, allocations: 367.3 kB / 0.5042 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.3512, allocations: 3.125 kB / 0.5042 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.3512, allocations: 14.75 kB / 0.5042 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.3513, allocations: 9.344 kB / 0.5042 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.3516, allocations: 218.6 kB / 0.5044 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.3532, allocations: 1.396 MB / 0.5058 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.3537, allocations: 300 kB / 0.5061 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.3538, allocations: 93.53 kB / 0.5061 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3538, allocations: 6.062 kB / 0.5062 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.3538, allocations: 41.59 kB / 0.5062 GB, free: 23.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.3538, allocations: 0 / 0.5062 GB, free: 23.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0005743/0.3544, allocations: 273 kB / 0.5065 GB, free: 23.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3545, allocations: 189.3 kB / 0.5066 GB, free: 23.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3546, allocations: 231.2 kB / 0.5069 GB, free: 23.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3546, allocations: 32.8 kB / 0.5069 GB, free: 23.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.3547, allocations: 219.6 kB / 0.5071 GB, free: 23.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.3548, allocations: 119.4 kB / 0.5072 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.3548, allocations: 71.72 kB / 0.5073 GB, free: 23.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.3549, allocations: 338.2 kB / 0.5076 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.355, allocations: 80.06 kB / 0.5077 GB, free: 22.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.3552, allocations: 260.5 kB / 0.5079 GB, free: 22.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.3556, allocations: 366.5 kB / 0.5083 GB, free: 22.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3556, allocations: 0 / 0.5083 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004923/0.3561, allocations: 382.6 kB / 0.5086 GB, free: 21.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3561, allocations: 6.094 kB / 0.5086 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3561, allocations: 6.094 kB / 0.5086 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3561, allocations: 9 kB / 0.5087 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.3564, allocations: 105.2 kB / 0.5088 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3565, allocations: 14.34 kB / 0.5088 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.3566, allocations: 43.83 kB / 0.5088 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.3567, allocations: 24.45 kB / 0.5088 GB, free: 21.89 MB / 446.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.0001034/0.3568, allocations: 160.8 kB / 0.509 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.3569, allocations: 37.22 kB / 0.509 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.357, allocations: 85.95 kB / 0.5091 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.357, allocations: 6.094 kB / 0.5091 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.357, allocations: 320 / 0.5091 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3571, allocations: 3.031 kB / 0.5091 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.3575, allocations: 251 kB / 0.5094 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3575, allocations: 6.969 kB / 0.5094 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.3579, allocations: 83.47 kB / 0.5094 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3579, allocations: 7.031 kB / 0.5094 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.3579, allocations: 10.41 kB / 0.5095 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3579, allocations: 3.281 kB / 0.5095 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3579, allocations: 7.922 kB / 0.5095 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.3585, allocations: 0.7637 MB / 0.5102 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.3585, allocations: 32.8 kB / 0.5102 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.3585, allocations: 9.969 kB / 0.5103 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.3589, allocations: 10.55 kB / 0.5103 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.3589, allocations: 23.64 kB / 0.5103 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3589, allocations: 13.36 kB / 0.5103 GB, free: 20.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.486e-05/0.359, allocations: 160.3 kB / 0.5105 GB, free: 20.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.359, allocations: 96 / 0.5105 GB, free: 20.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005714/0.3596, allocations: 99.66 kB / 0.5105 GB, free: 20.66 MB / 446.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 7.732e-05/0.3597, allocations: 109.7 kB / 0.5107 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.36, allocations: 221.2 kB / 0.5109 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3601, allocations: 3.031 kB / 0.5109 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3602, allocations: 93.7 kB / 0.511 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008674/0.3611, allocations: 74.78 kB / 0.511 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3626, allocations: 1.296 MB / 0.5123 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.3627, allocations: 187.8 kB / 0.5125 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.3628, allocations: 36.09 kB / 0.5125 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.3629, allocations: 26.06 kB / 0.5125 GB, free: 19.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3629, allocations: 0 / 0.5125 GB, free: 19.36 MB / 446.1 MB Notification: Performance of Templates: time 0.008088/0.371, allocations: 3.04 MB / 0.5155 GB, free: 18.94 MB / 446.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 ida -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.119421109906398]