Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.4 kB / 17.04 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 196 kB / 17.97 MB, free: 5.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2007/0.2007, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 68.94 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09906, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003047/0.1021, allocations: 2.688 MB / 444.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1033, allocations: 0.9823 MB / 445.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1035, allocations: 15.94 kB / 445.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.1036, allocations: 47.52 kB / 445.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.1038, allocations: 95.06 kB / 445.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1041, allocations: 147.5 kB / 445.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.1044, allocations: 370.2 kB / 446.3 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1045, allocations: 101.1 kB / 446.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.667e-05/0.1046, allocations: 131.5 kB / 446.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1048, allocations: 143.3 kB / 446.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.1048, allocations: 24 kB / 446.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.1049, allocations: 43.98 kB / 446.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.105, allocations: 59.77 kB / 446.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1051, allocations: 167.1 kB / 447 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1053, allocations: 366.7 kB / 447.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1053, allocations: 4 kB / 447.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1053, allocations: 0 / 447.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1053, allocations: 0 / 447.3 MB, free: 0.7734 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006721/0.106, allocations: 0.5849 MB / 447.9 MB, free: 140 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1061, allocations: 8.031 kB / 447.9 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.1063, allocations: 56.53 kB / 448 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.1066, allocations: 275.6 kB / 448.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1066, allocations: 21.03 kB / 448.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.1067, allocations: 36.36 kB / 448.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.1071, allocations: 302.6 kB / 448.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.1071, allocations: 7.906 kB / 448.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.1072, allocations: 19.92 kB / 448.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1072, allocations: 8 kB / 448.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.1075, allocations: 167.8 kB / 448.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.1092, allocations: 1.336 MB / 450.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.1096, allocations: 257.1 kB / 450.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.605e-05/0.1097, allocations: 72.22 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.1097, allocations: 8 kB / 450.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1097, allocations: 42.66 kB / 450.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.1097, allocations: 0 / 450.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004555/0.1102, allocations: 213.3 kB / 450.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.1103, allocations: 162.2 kB / 450.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1105, allocations: 216.2 kB / 451.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1105, allocations: 29.7 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1106, allocations: 192 kB / 451.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.1107, allocations: 86.7 kB / 451.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.1108, allocations: 61.7 kB / 451.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1109, allocations: 338.8 kB / 451.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.111, allocations: 63.97 kB / 451.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.1112, allocations: 205.9 kB / 452 MB, free: 11.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.1115, allocations: 305.6 kB / 452.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1116, allocations: 0 / 452.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004383/0.112, allocations: 313.2 kB / 452.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.112, allocations: 11.98 kB / 452.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.112, allocations: 4.312 kB / 452.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1121, allocations: 8 kB / 452.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1123, allocations: 87.84 kB / 452.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1124, allocations: 8 kB / 452.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1125, allocations: 40.33 kB / 452.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.1126, allocations: 23.98 kB / 452.8 MB, free: 10.78 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (44): * Single equations (assignments): 44 * 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.0001296/0.1127, allocations: 165.7 kB / 453 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1128, allocations: 19.81 kB / 453 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.113, allocations: 87.02 kB / 453.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.113, allocations: 4 kB / 453.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.113, allocations: 0 / 453.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.113, allocations: 11.97 kB / 453.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.1135, allocations: 313.2 kB / 453.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1136, allocations: 4 kB / 453.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.1139, allocations: 63.97 kB / 453.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1139, allocations: 4 kB / 453.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.1139, allocations: 8 kB / 453.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1139, allocations: 7.938 kB / 453.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1139, allocations: 3.984 kB / 453.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.1144, allocations: 0.6276 MB / 454.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.1145, allocations: 104.8 kB / 454.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1145, allocations: 8 kB / 454.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.1148, allocations: 8 kB / 454.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1149, allocations: 15.92 kB / 454.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1149, allocations: 8.094 kB / 454.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.115, allocations: 153.8 kB / 454.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.115, allocations: 0 / 454.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004854/0.1155, allocations: 83.78 kB / 454.5 MB, free: 9 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.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 (23): * Single equations (assignments): 23 * 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 9.076e-05/0.1156, allocations: 104.1 kB / 454.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.1159, allocations: 187.6 kB / 454.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1159, allocations: 1.062 kB / 454.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.116, allocations: 71.91 kB / 454.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/0.1168, allocations: 69.41 kB / 454.9 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1183, allocations: 1.11 MB / 456 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1186, allocations: 0.7716 MB / 456.8 MB, free: 6.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.854e-05/0.1187, allocations: 26.97 kB / 456.8 MB, free: 6.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.1188, allocations: 23.44 kB / 456.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1188, allocations: 0 / 456.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of Templates: time 0.005312/0.1241, allocations: 2.491 MB / 459.3 MB, free: 4.113 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches