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.001012/0.001012, allocations: 106.9 kB / 17.08 MB, free: 6.082 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.001066/0.001066, allocations: 198.2 kB / 18.01 MB, free: 5.176 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.417/1.417, 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.2074/0.2074, allocations: 43.52 MB / 314.8 MB, free: 468 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.00215/0.00215, allocations: 65.45 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1207, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004259/0.125, allocations: 2.698 MB / 0.4911 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1268, allocations: 0.9901 MB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.1271, allocations: 7.938 kB / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1273, allocations: 47.45 kB / 0.4922 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.1276, allocations: 99.11 kB / 0.4923 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.1281, allocations: 139.6 kB / 0.4924 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.1285, allocations: 378.2 kB / 0.4928 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.1287, allocations: 96.95 kB / 0.4928 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.129, allocations: 135.5 kB / 0.493 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.1293, allocations: 143.3 kB / 0.4931 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.1293, allocations: 27.94 kB / 0.4931 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1295, allocations: 43.98 kB / 0.4932 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.1295, allocations: 63.77 kB / 0.4932 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.1297, allocations: 159.2 kB / 0.4934 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.1301, allocations: 366.8 kB / 0.4937 GB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1301, allocations: 0 / 0.4937 GB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1302, allocations: 0 / 0.4937 GB, free: 6.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1302, allocations: 0 / 0.4937 GB, free: 6.434 MB / 382.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.0009091/0.1311, allocations: 0.6043 MB / 0.4943 GB, free: 5.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1311, allocations: 8.031 kB / 0.4943 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.1314, allocations: 48.55 kB / 0.4944 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1317, allocations: 259.8 kB / 0.4946 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.1318, allocations: 24.97 kB / 0.4947 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.1318, allocations: 36.38 kB / 0.4947 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.1323, allocations: 306.7 kB / 0.495 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.1323, allocations: 7.906 kB / 0.495 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.1324, allocations: 12 kB / 0.495 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.1324, allocations: 11.94 kB / 0.495 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.1327, allocations: 171.8 kB / 0.4952 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.1346, allocations: 1.348 MB / 0.4965 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.135, allocations: 249 kB / 0.4967 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1351, allocations: 80.25 kB / 0.4968 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1351, allocations: 12 kB / 0.4968 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1351, allocations: 34.5 kB / 0.4969 GB, free: 2.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.1351, allocations: 0 / 0.4969 GB, free: 2.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004448/0.1356, allocations: 217.8 kB / 0.4971 GB, free: 2.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.1357, allocations: 154.3 kB / 0.4972 GB, free: 2.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1359, allocations: 220.1 kB / 0.4974 GB, free: 2.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1359, allocations: 25.7 kB / 0.4974 GB, free: 2.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.136, allocations: 188 kB / 0.4976 GB, free: 2.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.1361, allocations: 94.84 kB / 0.4977 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.1361, allocations: 61.7 kB / 0.4978 GB, free: 1.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1363, allocations: 334.8 kB / 0.4981 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1364, allocations: 67.91 kB / 0.4982 GB, free: 1.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.1366, allocations: 202 kB / 0.4984 GB, free: 1.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.1369, allocations: 293.7 kB / 0.4986 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.1369, allocations: 7.938 kB / 0.4986 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004619/0.1374, allocations: 321.3 kB / 0.4989 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1374, allocations: 8 kB / 0.499 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1374, allocations: 4 kB / 0.499 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1375, allocations: 8 kB / 0.499 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.1377, allocations: 87.88 kB / 0.499 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1378, allocations: 4 kB / 0.4991 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.1379, allocations: 47.52 kB / 0.4991 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.138, allocations: 16 kB / 0.4991 GB, free: 440 kB / 382.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.0001555/0.1381, allocations: 162 kB / 0.4993 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1382, allocations: 23.75 kB / 0.4993 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.1384, allocations: 87.02 kB / 0.4994 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1384, allocations: 4 kB / 0.4994 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1384, allocations: 0 / 0.4994 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.1385, allocations: 104.8 kB / 0.4995 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.1385, allocations: 11.98 kB / 0.4995 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.1388, allocations: 3.938 kB / 0.4995 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1389, allocations: 24 kB / 0.4995 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007108/0.1396, allocations: 0.6071 MB / 0.5001 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005737/0.1402, allocations: 0.7419 MB / 0.5008 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001026/0.1403, allocations: 59.97 kB / 0.5009 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1404, allocations: 149.8 kB / 0.501 GB, free: 14.4 MB / 398.1 MB Notification: Performance of Backend: time 4.41e-07/0.1404, allocations: 4 kB / 0.501 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008551/0.1413, allocations: 230.5 kB / 0.5013 GB, free: 14.16 MB / 398.1 MB Notification: Performance of SimCode: time 0.001826/0.1431, allocations: 1.575 MB / 0.5028 GB, free: 12.55 MB / 398.1 MB Notification: Performance of Templates: time 0.007058/0.1502, allocations: 3.236 MB / 0.506 GB, free: 9.324 MB / 398.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 -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