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.001194/0.001193, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 72.44 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1291, allocations: 62.45 MB / 481.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004224/0.1334, allocations: 3.079 MB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000617/0.1341, allocations: 422.5 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1342, allocations: 11.88 kB / 484.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.1343, allocations: 63.31 kB / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.1346, allocations: 162.6 kB / 485.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1348, allocations: 103.8 kB / 485.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.1354, allocations: 0.5364 MB / 485.8 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.1357, allocations: 172.8 kB / 486 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.1359, allocations: 191.3 kB / 486.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.1361, allocations: 219 kB / 486.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.1362, allocations: 43.98 kB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.855e-05/0.1362, allocations: 40 kB / 486.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.1363, allocations: 91.7 kB / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.1365, allocations: 250.9 kB / 486.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.137, allocations: 0.5216 MB / 487.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.137, allocations: 0 / 487.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.137, allocations: 0 / 487.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.137, allocations: 0 / 487.3 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009007/0.1379, allocations: 0.7058 MB / 488 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.138, allocations: 12.03 kB / 488 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.138, allocations: 52.31 kB / 488.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.1383, allocations: 296.2 kB / 488.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.1384, allocations: 37.38 kB / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.1384, allocations: 64.27 kB / 488.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.1391, allocations: 458.6 kB / 488.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.1391, allocations: 8.094 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.1391, allocations: 23.94 kB / 489 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1391, allocations: 16 kB / 489 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.1395, allocations: 266.7 kB / 489.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.1416, allocations: 1.679 MB / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.1421, allocations: 419.9 kB / 491.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.1423, allocations: 159.6 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1423, allocations: 4 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1423, allocations: 54.48 kB / 491.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.1423, allocations: 0 / 491.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006744/0.143, allocations: 354.4 kB / 491.9 MB, free: 9.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.1432, allocations: 273 kB / 492.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1434, allocations: 254.6 kB / 492.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1434, allocations: 33.7 kB / 492.4 MB, free: 9.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.1436, allocations: 243.6 kB / 492.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.1437, allocations: 181.4 kB / 492.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.1439, allocations: 110.7 kB / 492.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.144, allocations: 350.8 kB / 493.3 MB, free: 8.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.1442, allocations: 125.9 kB / 493.4 MB, free: 8.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.1446, allocations: 413.6 kB / 493.8 MB, free: 7.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.1452, allocations: 0.5723 MB / 494.4 MB, free: 6.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.1452, allocations: 4 kB / 494.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007606/0.146, allocations: 0.5716 MB / 495 MB, free: 6.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.146, allocations: 8 kB / 495 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.146, allocations: 12.31 kB / 495 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.146, allocations: 12 kB / 495 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.1465, allocations: 184.2 kB / 495.2 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-05/0.1466, allocations: 15.94 kB / 495.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.1469, allocations: 75.31 kB / 495.3 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.1469, allocations: 35.98 kB / 495.3 MB, free: 5.922 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.0001812/0.1471, allocations: 189.5 kB / 495.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.1473, allocations: 35.62 kB / 495.5 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.012e-05/0.1474, allocations: 41.7 kB / 495.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.1474, allocations: 11.94 kB / 495.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1474, allocations: 0 / 495.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1474, allocations: 4 kB / 495.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009078/0.1483, allocations: 421.1 kB / 496 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1483, allocations: 0 / 496 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.1489, allocations: 127.8 kB / 496.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1489, allocations: 4 kB / 496.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.1489, allocations: 19.98 kB / 496.1 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1489, allocations: 3.938 kB / 496.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1489, allocations: 4 kB / 496.1 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.1497, allocations: 1.078 MB / 497.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.1498, allocations: 112.6 kB / 497.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.1499, allocations: 12 kB / 497.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.1503, allocations: 15.94 kB / 497.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.1503, allocations: 31.95 kB / 497.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1504, allocations: 8 kB / 497.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1505, allocations: 174 kB / 497.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1505, allocations: 0 / 497.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007693/0.1513, allocations: 135.7 kB / 497.7 MB, free: 3.422 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.0001932/0.1515, allocations: 119.1 kB / 497.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005263/0.152, allocations: 349.8 kB / 498.2 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.152, allocations: 4 kB / 498.2 MB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.1522, allocations: 123.8 kB / 498.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.1534, allocations: 107.8 kB / 498.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.1559, allocations: 1.945 MB / 0.4886 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.1564, allocations: 0.8238 MB / 0.4894 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.1565, allocations: 52.14 kB / 0.4895 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.1566, allocations: 31.44 kB / 0.4895 GB, free: 15.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.863e-06/0.1566, allocations: 0 / 0.4895 GB, free: 15.79 MB / 382.1 MB Notification: Performance of Templates: time 0.007804/0.1644, allocations: 4.095 MB / 0.4935 GB, free: 11.73 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches