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.001605/0.001605, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002253/0.002253, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.495/1.495, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2639/0.2639, allocations: 46.89 MB / 361.1 MB, free: 4.633 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-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=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.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.002348/0.002348, allocations: 75.81 kB / 0.4967 GB, free: 8.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3894, allocations: 65.98 MB / 0.5612 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003462/0.3929, allocations: 3.07 MB / 0.5642 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3943, allocations: 1.084 MB / 0.5652 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.3944, allocations: 6.062 kB / 0.5652 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.3946, allocations: 61.88 kB / 0.5653 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.3948, allocations: 124.6 kB / 0.5654 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.3954, allocations: 173.8 kB / 0.5656 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.3958, allocations: 460.3 kB / 0.566 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.3961, allocations: 87.91 kB / 0.5661 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3962, allocations: 164.1 kB / 0.5662 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.3964, allocations: 175.7 kB / 0.5664 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.3965, allocations: 30.31 kB / 0.5664 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3966, allocations: 49.91 kB / 0.5665 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.3967, allocations: 75.83 kB / 0.5666 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.3968, allocations: 194.4 kB / 0.5667 GB, free: 30.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.3972, allocations: 448.1 kB / 0.5672 GB, free: 30.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3972, allocations: 0.8438 kB / 0.5672 GB, free: 30.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3973, allocations: 0 / 0.5672 GB, free: 30.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3973, allocations: 0.75 kB / 0.5672 GB, free: 30.58 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.0009342/0.3982, allocations: 0.6665 MB / 0.5678 GB, free: 30.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3982, allocations: 9.25 kB / 0.5678 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.3985, allocations: 63.48 kB / 0.5679 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.3988, allocations: 303.4 kB / 0.5682 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.3989, allocations: 25.91 kB / 0.5682 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.3989, allocations: 53.42 kB / 0.5683 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.3994, allocations: 356.3 kB / 0.5686 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.3994, allocations: 11.11 kB / 0.5686 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3995, allocations: 18.11 kB / 0.5686 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3995, allocations: 8.875 kB / 0.5686 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.3999, allocations: 219.7 kB / 0.5688 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.4018, allocations: 1.579 MB / 0.5704 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.4022, allocations: 301.3 kB / 0.5707 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.4024, allocations: 92.86 kB / 0.5708 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.4024, allocations: 6.875 kB / 0.5708 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.4024, allocations: 49.06 kB / 0.5708 GB, free: 27.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.332e-06/0.4024, allocations: 3.938 kB / 0.5708 GB, free: 27.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006103/0.403, allocations: 273.5 kB / 0.5711 GB, free: 27.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.4031, allocations: 191 kB / 0.5713 GB, free: 27.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.4033, allocations: 240 kB / 0.5715 GB, free: 27.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4033, allocations: 31.11 kB / 0.5715 GB, free: 27.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4034, allocations: 216.7 kB / 0.5717 GB, free: 27.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.4035, allocations: 113.6 kB / 0.5718 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.4036, allocations: 76.09 kB / 0.5719 GB, free: 27.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.4037, allocations: 341 kB / 0.5722 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.4038, allocations: 87.12 kB / 0.5723 GB, free: 26.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.4041, allocations: 247.7 kB / 0.5726 GB, free: 26.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.4045, allocations: 357.7 kB / 0.5729 GB, free: 26.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4045, allocations: 1.188 kB / 0.5729 GB, free: 26.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007107/0.4052, allocations: 389 kB / 0.5733 GB, free: 25.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4053, allocations: 8.25 kB / 0.5733 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4053, allocations: 5.5 kB / 0.5733 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.4053, allocations: 8.25 kB / 0.5733 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.4057, allocations: 108 kB / 0.5734 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.4057, allocations: 8.25 kB / 0.5734 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.4059, allocations: 45.19 kB / 0.5734 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.4059, allocations: 28.44 kB / 0.5735 GB, free: 25.9 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.0001195/0.406, allocations: 158.2 kB / 0.5736 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4061, allocations: 30.94 kB / 0.5737 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.4063, allocations: 94.59 kB / 0.5737 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4063, allocations: 4.125 kB / 0.5737 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.4063, allocations: 5.312 kB / 0.5738 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4063, allocations: 6.125 kB / 0.5738 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.4069, allocations: 349.5 kB / 0.5741 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4069, allocations: 5.375 kB / 0.5741 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.4073, allocations: 83.03 kB / 0.5742 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4073, allocations: 3.281 kB / 0.5742 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.4073, allocations: 9.922 kB / 0.5742 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4073, allocations: 2.141 kB / 0.5742 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4073, allocations: 2.406 kB / 0.5742 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.408, allocations: 0.774 MB / 0.5749 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.408, allocations: 103.6 kB / 0.575 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.4081, allocations: 7.922 kB / 0.5751 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.4084, allocations: 10.67 kB / 0.5751 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.4084, allocations: 18.73 kB / 0.5751 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4084, allocations: 12.2 kB / 0.5751 GB, free: 24.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.4086, allocations: 172.9 kB / 0.5753 GB, free: 24.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4086, allocations: 0 / 0.5753 GB, free: 24.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005753/0.4092, allocations: 98.53 kB / 0.5754 GB, free: 24.51 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 0.000108/0.4093, allocations: 110.9 kB / 0.5755 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005916/0.4099, allocations: 224.4 kB / 0.5757 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4099, allocations: 0 / 0.5757 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.4101, allocations: 91.94 kB / 0.5758 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009515/0.411, allocations: 81 kB / 0.5758 GB, free: 24.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.4129, allocations: 1.317 MB / 0.5771 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.4133, allocations: 0.7944 MB / 0.5779 GB, free: 22.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.4134, allocations: 33.8 kB / 0.5779 GB, free: 22.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.511e-05/0.4135, allocations: 25.11 kB / 0.578 GB, free: 22.57 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4135, allocations: 1.219 kB / 0.578 GB, free: 22.57 MB / 446.1 MB Notification: Performance of Templates: time 0.008534/0.422, allocations: 3.225 MB / 0.5811 GB, free: 22.27 MB / 446.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 -s gbode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.437844941858202]