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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_trunk_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|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00091/0.0009099, allocations: 96.97 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 207.9 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 46.18 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.000282, allocations: 4 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 63.57 MB / 483.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003284/0.1215, allocations: 2.692 MB / 486.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1235, allocations: 1.06 MB / 487.5 MB, free: 416 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.1238, allocations: 11.94 kB / 487.5 MB, free: 404 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.124, allocations: 35.64 kB / 487.5 MB, free: 368 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.1244, allocations: 115.1 kB / 487.6 MB, free: 252 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.125, allocations: 147.7 kB / 487.8 MB, free: 104 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007453/0.1257, allocations: 429.9 kB / 488.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.126, allocations: 102 kB / 488.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.1264, allocations: 151.4 kB / 488.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.1267, allocations: 159.2 kB / 488.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.1268, allocations: 16 kB / 488.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.127, allocations: 43.98 kB / 488.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.1271, allocations: 59.75 kB / 488.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.1273, allocations: 204.7 kB / 488.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.1277, allocations: 315.4 kB / 489.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1278, allocations: 0 / 489.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1278, allocations: 0 / 489.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.1278, allocations: 4 kB / 489.2 MB, free: 14.63 MB / 366.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.001053/0.1288, allocations: 0.589 MB / 489.8 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1289, allocations: 8.875 kB / 489.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003456/0.1293, allocations: 72.34 kB / 489.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1296, allocations: 283.6 kB / 490.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.1297, allocations: 29.38 kB / 490.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.1297, allocations: 40.28 kB / 490.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.1304, allocations: 363.5 kB / 490.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.1304, allocations: 15.91 kB / 490.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.1304, allocations: 12 kB / 490.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1305, allocations: 8 kB / 490.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.1309, allocations: 227.7 kB / 490.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.1331, allocations: 1.581 MB / 492.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.1337, allocations: 323.6 kB / 492.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.1339, allocations: 101.1 kB / 492.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1339, allocations: 4 kB / 492.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.134, allocations: 42.56 kB / 492.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 3.707e-06/0.134, allocations: 0 / 492.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006813/0.1347, allocations: 285.1 kB / 493.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/0.1348, allocations: 187.9 kB / 493.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.135, allocations: 242.7 kB / 493.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1351, allocations: 29.7 kB / 493.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1352, allocations: 211.7 kB / 493.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/0.1353, allocations: 114.4 kB / 493.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.1354, allocations: 41.64 kB / 494 MB, free: 9.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1355, allocations: 342.8 kB / 494.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.1357, allocations: 80.84 kB / 494.4 MB, free: 9.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.1361, allocations: 249.8 kB / 494.6 MB, free: 8.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.1366, allocations: 373 kB / 495 MB, free: 8.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1366, allocations: 0 / 495 MB, free: 8.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006849/0.1373, allocations: 392.8 kB / 495.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.1373, allocations: 8 kB / 495.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1373, allocations: 4 kB / 495.4 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.1374, allocations: 11.98 kB / 495.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.1377, allocations: 108.1 kB / 495.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.1378, allocations: 8.469 kB / 495.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.138, allocations: 51.67 kB / 495.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.138, allocations: 20 kB / 495.6 MB, free: 7.711 MB / 366.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.0001728/0.1382, allocations: 157.6 kB / 495.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.1384, allocations: 35.62 kB / 495.8 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.1386, allocations: 91.33 kB / 495.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1386, allocations: 4 kB / 495.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1386, allocations: 0.75 kB / 495.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.1386, allocations: 11.98 kB / 495.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000688/0.1393, allocations: 349.2 kB / 496.2 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1393, allocations: 0 / 496.2 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.1397, allocations: 83.89 kB / 496.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1397, allocations: 4 kB / 496.3 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.1398, allocations: 11.98 kB / 496.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1398, allocations: 4 kB / 496.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1398, allocations: 0 / 496.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.1405, allocations: 0.7814 MB / 497.1 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.1406, allocations: 108.7 kB / 497.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.1407, allocations: 12 kB / 497.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.141, allocations: 11.94 kB / 497.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.1411, allocations: 15.97 kB / 497.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1411, allocations: 12 kB / 497.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.1413, allocations: 177.9 kB / 497.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1413, allocations: 0 / 497.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006053/0.1419, allocations: 95.69 kB / 497.5 MB, free: 5.664 MB / 366.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.0001217/0.142, allocations: 111.2 kB / 497.6 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.1425, allocations: 233.2 kB / 497.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1425, allocations: 384 / 497.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.1427, allocations: 96.41 kB / 498 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009595/0.1436, allocations: 76.72 kB / 498 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.1458, allocations: 1.677 MB / 499.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.1462, allocations: 0.7914 MB / 0.4888 GB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.1463, allocations: 27.44 kB / 0.4888 GB, free: 2.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1463, allocations: 0 / 0.4888 GB, free: 2.582 MB / 366.1 MB Notification: Performance of Templates: time 0.006868/0.1532, allocations: 3.992 MB / 0.4927 GB, free: 14.6 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches