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.001423/0.001423, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001414/0.001414, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 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.505/1.505, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3731/0.3731, allocations: 34.27 MB / 295.3 MB, free: 0.6992 MB / 266.7 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 2.866e-06/2.866e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.717e-05/4.004e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.008297/0.008337, allocations: 2.833 MB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003429/0.01177, allocations: 1.013 MB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.0122, allocations: 11.94 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.01257, allocations: 67.31 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006409/0.01321, allocations: 130.9 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.01421, allocations: 175.3 kB / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.01528, allocations: 469.6 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.0156, allocations: 79.98 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.01627, allocations: 247.5 kB / 382.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.01667, allocations: 139.6 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.01677, allocations: 28 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.01699, allocations: 51.98 kB / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.01712, allocations: 79.66 kB / 382.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.01742, allocations: 131.7 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009307/0.01835, allocations: 450.4 kB / 383.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.01835, allocations: 0 / 383.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01835, allocations: 4 kB / 383.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.01837, allocations: 0 / 383.1 MB, free: 13.09 MB / 362.7 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.001789/0.02016, allocations: 0.5833 MB / 383.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.02021, allocations: 15.97 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.02079, allocations: 100.6 kB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/0.02147, allocations: 225.2 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.02154, allocations: 29.38 kB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.02166, allocations: 44.31 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.02276, allocations: 364 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.533e-05/0.0228, allocations: 4.141 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/0.02287, allocations: 19.94 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.02289, allocations: 11.98 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007991/0.02369, allocations: 219.5 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.02761, allocations: 1.398 MB / 386.1 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.02864, allocations: 303.6 kB / 386.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.02895, allocations: 89.17 kB / 386.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.02899, allocations: 7.984 kB / 386.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.115e-05/0.02905, allocations: 50.44 kB / 386.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 5.811e-06/0.02906, allocations: 3.984 kB / 386.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001248/0.03031, allocations: 281.2 kB / 386.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/0.0305, allocations: 183.9 kB / 387 MB, free: 8.898 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/0.03095, allocations: 233.8 kB / 387.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.03099, allocations: 29.7 kB / 387.3 MB, free: 8.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.03125, allocations: 220.3 kB / 387.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.03142, allocations: 115.1 kB / 387.6 MB, free: 8.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.03161, allocations: 70.16 kB / 387.7 MB, free: 8.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002974/0.0319, allocations: 350.9 kB / 388 MB, free: 7.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.03222, allocations: 76.97 kB / 388.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.03279, allocations: 254.4 kB / 388.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000925/0.03372, allocations: 357.1 kB / 388.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.03372, allocations: 4 kB / 388.7 MB, free: 7.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001228/0.03495, allocations: 405.3 kB / 389.1 MB, free: 6.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.03498, allocations: 11.94 kB / 389.1 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.03501, allocations: 8.312 kB / 389.1 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.361e-05/0.03505, allocations: 11.98 kB / 389.1 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.03569, allocations: 103.8 kB / 389.2 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.03572, allocations: 8 kB / 389.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.03612, allocations: 39.73 kB / 389.3 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.03618, allocations: 28.22 kB / 389.3 MB, free: 6.43 MB / 362.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 (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.0002743/0.03646, allocations: 157.7 kB / 389.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.03673, allocations: 43.86 kB / 389.5 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.03701, allocations: 91.39 kB / 389.6 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.03702, allocations: 8 kB / 389.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.03703, allocations: 0 / 389.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.03704, allocations: 3.984 kB / 389.6 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.03816, allocations: 245.1 kB / 389.8 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.03817, allocations: 4 kB / 389.8 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.03892, allocations: 83.89 kB / 389.9 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.03892, allocations: 0 / 389.9 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.03896, allocations: 11.94 kB / 389.9 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.03897, allocations: 7.984 kB / 389.9 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.03898, allocations: 4 kB / 389.9 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.0404, allocations: 0.7703 MB / 390.7 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.0405, allocations: 31.73 kB / 390.7 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.04057, allocations: 11.94 kB / 390.7 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/0.0412, allocations: 8 kB / 390.8 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/0.04129, allocations: 23.95 kB / 390.8 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.04132, allocations: 8 kB / 390.8 MB, free: 4.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002724/0.04159, allocations: 165.2 kB / 391 MB, free: 4.699 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04159, allocations: 0 / 391 MB, free: 4.699 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00119/0.04278, allocations: 99.78 kB / 391 MB, free: 4.602 MB / 362.7 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.0002022/0.04298, allocations: 108.4 kB / 391.2 MB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008047/0.04379, allocations: 229.2 kB / 391.4 MB, free: 4.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.04379, allocations: 320 / 391.4 MB, free: 4.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.0441, allocations: 92.02 kB / 391.5 MB, free: 4.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.04576, allocations: 92.61 kB / 391.6 MB, free: 4.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.04872, allocations: 1.035 MB / 392.6 MB, free: 3.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.04909, allocations: 186.5 kB / 392.8 MB, free: 2.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.04933, allocations: 34.95 kB / 392.8 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.04945, allocations: 32.48 kB / 392.8 MB, free: 2.742 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.04945, allocations: 0 / 392.8 MB, free: 2.742 MB / 362.7 MB Notification: Performance of Templates: time 0.01216/0.06161, allocations: 3.019 MB / 395.9 MB, free: 15.79 MB / 378.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins/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: 4.927195034921169]