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.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.001465/0.001465, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001657/0.001657, allocations: 217.8 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2001/0.2001, allocations: 44.25 MB / 331 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] 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.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=5002,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=5002,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 75.88 kB / 468.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1199, allocations: 61.03 MB / 0.5173 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004169/0.1241, allocations: 2.729 MB / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1261, allocations: 1.01 MB / 0.521 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.1264, allocations: 7.938 kB / 0.521 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.1266, allocations: 47.45 kB / 0.521 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.1269, allocations: 111.1 kB / 0.5212 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.1274, allocations: 143.6 kB / 0.5213 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005382/0.128, allocations: 378.2 kB / 0.5217 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1282, allocations: 65.28 kB / 0.5217 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.1284, allocations: 139.5 kB / 0.5218 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1286, allocations: 147.3 kB / 0.522 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.1286, allocations: 28 kB / 0.522 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1287, allocations: 36 kB / 0.522 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.1288, allocations: 67.77 kB / 0.5221 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.129, allocations: 159.2 kB / 0.5223 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.1294, allocations: 370.4 kB / 0.5226 GB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1294, allocations: 0 / 0.5226 GB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1294, allocations: 0 / 0.5226 GB, free: 1.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1294, allocations: 0 / 0.5226 GB, free: 1.43 MB / 398.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.0009642/0.1304, allocations: 0.5248 MB / 0.5231 GB, free: 0.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1304, allocations: 8.031 kB / 0.5231 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.1307, allocations: 52.69 kB / 0.5232 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.1311, allocations: 214 kB / 0.5234 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.1311, allocations: 21.03 kB / 0.5234 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.1311, allocations: 36.33 kB / 0.5234 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.1316, allocations: 310.6 kB / 0.5237 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.1317, allocations: 7.953 kB / 0.5238 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.1317, allocations: 16 kB / 0.5238 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.1317, allocations: 11.94 kB / 0.5238 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.132, allocations: 171.8 kB / 0.5239 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.134, allocations: 1.262 MB / 0.5252 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.1344, allocations: 245 kB / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1345, allocations: 88.2 kB / 0.5255 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1345, allocations: 3.984 kB / 0.5255 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1346, allocations: 38.62 kB / 0.5255 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.1346, allocations: 0 / 0.5255 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.000473/0.135, allocations: 217.3 kB / 0.5257 GB, free: 13.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.1351, allocations: 162.3 kB / 0.5259 GB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1353, allocations: 212.1 kB / 0.5261 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1353, allocations: 29.7 kB / 0.5261 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1355, allocations: 192.4 kB / 0.5263 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.1356, allocations: 99.36 kB / 0.5264 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.1356, allocations: 61.66 kB / 0.5265 GB, free: 13.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1358, allocations: 334.8 kB / 0.5268 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1359, allocations: 67.97 kB / 0.5268 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1361, allocations: 201.9 kB / 0.527 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.1365, allocations: 301.6 kB / 0.5273 GB, free: 12.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1365, allocations: 4 kB / 0.5273 GB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004934/0.137, allocations: 313 kB / 0.5276 GB, free: 11.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.137, allocations: 7.984 kB / 0.5276 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1371, allocations: 8 kB / 0.5276 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.1371, allocations: 4 kB / 0.5276 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.1374, allocations: 83.84 kB / 0.5277 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.1374, allocations: 8.531 kB / 0.5277 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.1376, allocations: 47.81 kB / 0.5278 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.1376, allocations: 19.94 kB / 0.5278 GB, free: 11.67 MB / 414.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.0001572/0.1377, allocations: 153.6 kB / 0.5279 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1379, allocations: 23.86 kB / 0.528 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.138, allocations: 87.08 kB / 0.5281 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.138, allocations: 4 kB / 0.5281 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.138, allocations: 0 / 0.5281 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.138, allocations: 7.984 kB / 0.5281 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.1387, allocations: 284.7 kB / 0.5283 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1387, allocations: 4 kB / 0.5283 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.139, allocations: 67.91 kB / 0.5284 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.139, allocations: 4 kB / 0.5284 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.139, allocations: 8 kB / 0.5284 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.139, allocations: 3.938 kB / 0.5284 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.139, allocations: 11.92 kB / 0.5284 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006029/0.1396, allocations: 0.6373 MB / 0.5291 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.1396, allocations: 31.78 kB / 0.5291 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.1397, allocations: 4 kB / 0.5291 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.1399, allocations: 8 kB / 0.5291 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.14, allocations: 19.91 kB / 0.5291 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.14, allocations: 4 kB / 0.5291 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.1401, allocations: 153.6 kB / 0.5293 GB, free: 10.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1401, allocations: 0 / 0.5293 GB, free: 10.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005099/0.1406, allocations: 83.83 kB / 0.5293 GB, free: 10.01 MB / 414.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 0.0001316/0.1408, allocations: 99.25 kB / 0.5294 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.1411, allocations: 176.7 kB / 0.5296 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1411, allocations: 8 kB / 0.5296 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1412, allocations: 72.47 kB / 0.5297 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/0.142, allocations: 57 kB / 0.5297 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.1437, allocations: 1.156 MB / 0.5309 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1441, allocations: 0.7716 MB / 0.5316 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.1442, allocations: 31.38 kB / 0.5317 GB, free: 7.562 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1442, allocations: 0 / 0.5317 GB, free: 7.562 MB / 414.1 MB Notification: Performance of Templates: time 0.005822/0.15, allocations: 3.442 MB / 0.535 GB, free: 4.129 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.9066886401269585]