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.001158/0.001158, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001434/0.001434, allocations: 160.5 kB / 24.55 MB, free: 12 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 0.9559/0.9559, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.3268/0.3268, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] 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 2.354e-06/2.354e-06, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/2.011e-05, allocations: 3.016 kB / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.00294/0.00296, allocations: 3.048 MB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004167, allocations: 1.063 MB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.004284, allocations: 11.94 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.00444, allocations: 63.31 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.004591, allocations: 130.8 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.004973, allocations: 179.4 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.005292, allocations: 473.6 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.005445, allocations: 79.97 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.005629, allocations: 255.4 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.00577, allocations: 127.7 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.005805, allocations: 28 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.005894, allocations: 51.98 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.005943, allocations: 79.66 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.006034, allocations: 139.7 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.006368, allocations: 322.7 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00637, allocations: 0 / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006371, allocations: 0 / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.006376, allocations: 0 / 384.7 MB, free: 12.06 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.000665/0.007041, allocations: 0.687 MB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.007077, allocations: 12.03 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.007305, allocations: 96.62 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.007539, allocations: 232 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.007562, allocations: 33.38 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/0.007607, allocations: 36.38 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.007956, allocations: 325.8 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.007975, allocations: 16.14 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.007997, allocations: 15.94 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.008006, allocations: 8 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.008202, allocations: 138.9 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.009425, allocations: 1.669 MB / 388 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.009866, allocations: 286.6 kB / 388.3 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.335e-05/0.009939, allocations: 86.14 kB / 388.4 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.009955, allocations: 12 kB / 388.4 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.009978, allocations: 49.2 kB / 388.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.00998, allocations: 0 / 388.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003424/0.01032, allocations: 222 kB / 388.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.01038, allocations: 187.9 kB / 388.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.01053, allocations: 284.2 kB / 389.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.01054, allocations: 33.83 kB / 389.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.01064, allocations: 266.9 kB / 389.4 MB, free: 7.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.0107, allocations: 111.1 kB / 389.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.01076, allocations: 79.81 kB / 389.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.01088, allocations: 0.5118 MB / 390.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.01095, allocations: 44.97 kB / 390.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.0111, allocations: 285.1 kB / 390.4 MB, free: 5.898 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.01136, allocations: 363.8 kB / 390.8 MB, free: 5.438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01136, allocations: 0 / 390.8 MB, free: 5.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003157/0.01168, allocations: 337.3 kB / 391.1 MB, free: 5.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.01169, allocations: 7.938 kB / 391.1 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.0117, allocations: 8 kB / 391.1 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01172, allocations: 11.98 kB / 391.1 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.0119, allocations: 103.8 kB / 391.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.01191, allocations: 11.94 kB / 391.2 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.806e-05/0.01201, allocations: 43.72 kB / 391.3 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.01203, allocations: 20 kB / 391.3 MB, free: 4.898 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 8.923e-05/0.01212, allocations: 184.7 kB / 391.5 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.01219, allocations: 43.73 kB / 391.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.0123, allocations: 83.45 kB / 391.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.01231, allocations: 4 kB / 391.6 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01231, allocations: 3.984 kB / 391.6 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01232, allocations: 4 kB / 391.6 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.01267, allocations: 244.7 kB / 391.9 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01267, allocations: 4 kB / 391.9 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.01287, allocations: 79.91 kB / 391.9 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.01288, allocations: 4 kB / 391.9 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.01289, allocations: 19.92 kB / 392 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.0129, allocations: 4 kB / 392 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.0129, allocations: 0 / 392 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.01334, allocations: 0.9733 MB / 392.9 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.01336, allocations: 31.69 kB / 393 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.01339, allocations: 11.94 kB / 393 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.01354, allocations: 8 kB / 393 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.01359, allocations: 27.94 kB / 393 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.01359, allocations: 11.94 kB / 393 MB, free: 3.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.54e-05/0.01368, allocations: 197.1 kB / 393.2 MB, free: 2.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01368, allocations: 0 / 393.2 MB, free: 2.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.01401, allocations: 99.78 kB / 393.3 MB, free: 2.801 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 7.593e-05/0.01409, allocations: 95.75 kB / 393.4 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.01432, allocations: 190.1 kB / 393.6 MB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01432, allocations: 4.125 kB / 393.6 MB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.0144, allocations: 83.52 kB / 393.7 MB, free: 2.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.01494, allocations: 87.42 kB / 393.8 MB, free: 2.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.01621, allocations: 1.038 MB / 394.8 MB, free: 1.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.625e-05/0.01629, allocations: 108.6 kB / 394.9 MB, free: 1.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.01636, allocations: 30.97 kB / 394.9 MB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.01641, allocations: 24.5 kB / 395 MB, free: 1.07 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01641, allocations: 0 / 395 MB, free: 1.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005186/0.0216, allocations: 3.216 MB / 398.2 MB, free: 13.93 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0289777973666787]