Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001876/0.001876, allocations: 103.5 kB / 20.96 MB, free: 3.449 MB / 18.57 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.002015/0.002015, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.567/1.567, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3765/0.3765, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.301e-05, allocations: 4 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.005022/0.005055, allocations: 3.016 MB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.00712, allocations: 1.056 MB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.007285, allocations: 11.88 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.007488, allocations: 59.39 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.007749, allocations: 138.8 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.008326, allocations: 175.4 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005908/0.008916, allocations: 473.5 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.009131, allocations: 75.92 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.009478, allocations: 255.5 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.009721, allocations: 127.6 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.009778, allocations: 28 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.00994, allocations: 55.97 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/0.01003, allocations: 79.67 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.0102, allocations: 139.7 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.0108, allocations: 450.5 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.0108, allocations: 0 / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.01081, allocations: 0 / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.01083, allocations: 0 / 383.3 MB, free: 12.79 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.001234/0.01206, allocations: 0.7062 MB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.01209, allocations: 12.03 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005076/0.0126, allocations: 100.6 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.01301, allocations: 232 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.01305, allocations: 21.38 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.01313, allocations: 52.25 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006594/0.01379, allocations: 385 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.01381, allocations: 8.141 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.01385, allocations: 19.94 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.01387, allocations: 8 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.01432, allocations: 210.7 kB / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.017, allocations: 1.766 MB / 386.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006709/0.01767, allocations: 346.6 kB / 387.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.01787, allocations: 106.1 kB / 387.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.0179, allocations: 4 kB / 387.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.01794, allocations: 49.33 kB / 387.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.01794, allocations: 0 / 387.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007233/0.01866, allocations: 282 kB / 387.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.01881, allocations: 187.9 kB / 387.7 MB, free: 7.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.01914, allocations: 324.3 kB / 388 MB, free: 7.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.01917, allocations: 33.7 kB / 388.1 MB, free: 7.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.01938, allocations: 266.9 kB / 388.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.01949, allocations: 119 kB / 388.4 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.01963, allocations: 91.8 kB / 388.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002985/0.01992, allocations: 0.5235 MB / 389.1 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.02011, allocations: 80.95 kB / 389.1 MB, free: 6.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.0205, allocations: 329.1 kB / 389.5 MB, free: 6.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.02112, allocations: 435.8 kB / 389.9 MB, free: 5.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.02113, allocations: 4 kB / 389.9 MB, free: 5.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007073/0.02183, allocations: 401 kB / 390.3 MB, free: 5.172 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.02186, allocations: 11.94 kB / 390.3 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.02187, allocations: 7.938 kB / 390.3 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.02189, allocations: 8 kB / 390.3 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.02226, allocations: 103.9 kB / 390.4 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.02227, allocations: 12.5 kB / 390.4 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.02249, allocations: 39.73 kB / 390.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.02252, allocations: 24.08 kB / 390.5 MB, free: 4.969 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.0002087/0.02273, allocations: 204.4 kB / 390.7 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.02288, allocations: 43.78 kB / 390.7 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.02309, allocations: 91.45 kB / 390.8 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.0231, allocations: 7.938 kB / 390.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.0231, allocations: 0 / 390.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.02311, allocations: 7.984 kB / 390.8 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008007/0.02391, allocations: 284.4 kB / 391.1 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.02392, allocations: 0 / 391.1 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.02432, allocations: 83.95 kB / 391.2 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.02433, allocations: 4 kB / 391.2 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.02436, allocations: 11.94 kB / 391.2 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.02437, allocations: 11.92 kB / 391.2 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02437, allocations: 0 / 391.2 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.02538, allocations: 1.036 MB / 392.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.02543, allocations: 28.38 kB / 392.3 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.02548, allocations: 11.94 kB / 392.3 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.02577, allocations: 12.25 kB / 392.3 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.02584, allocations: 23.95 kB / 392.3 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.02586, allocations: 12 kB / 392.3 MB, free: 3.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.02605, allocations: 209.1 kB / 392.5 MB, free: 2.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02605, allocations: 4 kB / 392.5 MB, free: 2.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005892/0.02664, allocations: 103.7 kB / 392.6 MB, free: 2.723 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.0001339/0.02677, allocations: 103.7 kB / 392.8 MB, free: 2.613 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005103/0.02728, allocations: 256.6 kB / 393 MB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02728, allocations: 0 / 393 MB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.02748, allocations: 103.8 kB / 393.1 MB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008959/0.02838, allocations: 80 kB / 393.2 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.03029, allocations: 1.062 MB / 394.2 MB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.03054, allocations: 186.5 kB / 394.4 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.03067, allocations: 34.97 kB / 394.5 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.03074, allocations: 24.5 kB / 394.5 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03074, allocations: 0 / 394.5 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of Templates: time 0.008055/0.0388, allocations: 3.047 MB / 397.5 MB, free: 13.82 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.079724104027264]