Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,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|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,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|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008254/0.0008252, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 201.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.18 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.000279, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 63.55 MB / 483.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003432/0.1293, allocations: 2.737 MB / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1304, allocations: 418.5 kB / 486.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.1308, allocations: 11.94 kB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.1309, allocations: 47.62 kB / 486.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005004/0.1314, allocations: 146.8 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.1317, allocations: 83.92 kB / 486.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006512/0.1324, allocations: 0.5169 MB / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.1327, allocations: 129.2 kB / 487.1 MB, free: 108 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.1329, allocations: 183.3 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.1332, allocations: 195 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.1333, allocations: 24 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.1334, allocations: 24 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.1335, allocations: 79.69 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.1337, allocations: 260.6 kB / 487.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.1342, allocations: 494.3 kB / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1342, allocations: 0 / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1342, allocations: 0 / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.1342, allocations: 0 / 488.4 MB, free: 14.86 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008772/0.1351, allocations: 0.6356 MB / 489 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1352, allocations: 12.88 kB / 489 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.609e-05/0.1353, allocations: 52.36 kB / 489.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1356, allocations: 295.4 kB / 489.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.1356, allocations: 37.38 kB / 489.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.332e-05/0.1357, allocations: 52.28 kB / 489.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.1364, allocations: 458.7 kB / 489.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.1364, allocations: 16.03 kB / 489.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.1365, allocations: 19.94 kB / 489.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1365, allocations: 12 kB / 489.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.1369, allocations: 270.4 kB / 490.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.139, allocations: 1.707 MB / 491.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.1395, allocations: 415.4 kB / 492.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1397, allocations: 163.6 kB / 492.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1398, allocations: 4 kB / 492.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1398, allocations: 54.48 kB / 492.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.1398, allocations: 0 / 492.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006955/0.1405, allocations: 353.5 kB / 492.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1407, allocations: 269 kB / 493.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.1409, allocations: 247.1 kB / 493.4 MB, free: 9.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1409, allocations: 41.7 kB / 493.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.1411, allocations: 243.5 kB / 493.7 MB, free: 9.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.1412, allocations: 177.5 kB / 493.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.1413, allocations: 61.62 kB / 493.9 MB, free: 8.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1414, allocations: 346.8 kB / 494.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.1416, allocations: 125.9 kB / 494.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.142, allocations: 413.6 kB / 494.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/0.1427, allocations: 0.581 MB / 495.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.1427, allocations: 4 kB / 495.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008363/0.1435, allocations: 0.5638 MB / 495.9 MB, free: 6.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1436, allocations: 16 kB / 495.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.1436, allocations: 8.625 kB / 495.9 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1436, allocations: 16 kB / 495.9 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.1441, allocations: 179.7 kB / 496.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.538e-05/0.1442, allocations: 19.94 kB / 496.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.1445, allocations: 67.28 kB / 496.2 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.1445, allocations: 36 kB / 496.2 MB, free: 6.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0001773/0.1447, allocations: 189.5 kB / 496.4 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.1449, allocations: 39.62 kB / 496.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.206e-05/0.145, allocations: 41.7 kB / 496.5 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.145, allocations: 7.938 kB / 496.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.145, allocations: 4 kB / 496.5 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.145, allocations: 4 kB / 496.5 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/0.146, allocations: 405.2 kB / 496.9 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.146, allocations: 4 kB / 496.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.1466, allocations: 123.9 kB / 497 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.1466, allocations: 4 kB / 497 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.1466, allocations: 19.92 kB / 497.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.1466, allocations: 15.88 kB / 497.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1466, allocations: 4 kB / 497.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.1474, allocations: 1.074 MB / 498.2 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.1475, allocations: 120.5 kB / 498.3 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.1475, allocations: 8 kB / 498.3 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.1479, allocations: 15.94 kB / 498.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.148, allocations: 31.94 kB / 498.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.148, allocations: 12 kB / 498.3 MB, free: 4.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.1482, allocations: 174 kB / 498.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1482, allocations: 0 / 498.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007875/0.149, allocations: 131.8 kB / 498.6 MB, free: 3.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0001276/0.1491, allocations: 119 kB / 498.8 MB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005082/0.1496, allocations: 342.2 kB / 499.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1496, allocations: 0 / 499.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1498, allocations: 128.2 kB / 499.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.151, allocations: 100.9 kB / 499.3 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.154, allocations: 2.474 MB / 0.49 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.1544, allocations: 0.828 MB / 0.4908 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000168/0.1545, allocations: 52.16 kB / 0.4909 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.1546, allocations: 31.44 kB / 0.4909 GB, free: 15.62 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1546, allocations: 0 / 0.4909 GB, free: 15.62 MB / 382.1 MB Notification: Performance of Templates: time 0.007733/0.1624, allocations: 3.867 MB / 0.4947 GB, free: 11.79 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches