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.001442/0.001442, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 78.78 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1244, allocations: 62.44 MB / 480 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004661/0.1291, allocations: 3.08 MB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009439/0.1301, allocations: 418.5 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1303, allocations: 11.94 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.1304, allocations: 59.31 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1307, allocations: 162.6 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.131, allocations: 107.8 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.1315, allocations: 0.5287 MB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.1317, allocations: 168.8 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.1319, allocations: 203.2 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1322, allocations: 207 kB / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.1322, allocations: 44 kB / 485 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.1323, allocations: 40 kB / 485 MB, free: 288 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.183e-05/0.1324, allocations: 95.67 kB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.1327, allocations: 246.9 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.1333, allocations: 0.5101 MB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1333, allocations: 0 / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1333, allocations: 0 / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1333, allocations: 0 / 485.9 MB, free: 15.43 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.00114/0.1345, allocations: 0.7136 MB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.1346, allocations: 15.97 kB / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1347, allocations: 52.31 kB / 486.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.135, allocations: 295.4 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.1351, allocations: 37.38 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-05/0.1352, allocations: 60.28 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.1358, allocations: 462.6 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.1358, allocations: 12.08 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.1359, allocations: 23.94 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1359, allocations: 16 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.1363, allocations: 270.2 kB / 487.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.1384, allocations: 1.687 MB / 489.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.1389, allocations: 427.4 kB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.1391, allocations: 151.6 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1391, allocations: 8 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1392, allocations: 51.05 kB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.803e-06/0.1392, allocations: 0 / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.000681/0.1399, allocations: 352.9 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.14, allocations: 269.5 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1402, allocations: 254.6 kB / 491 MB, free: 9.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1403, allocations: 37.64 kB / 491 MB, free: 9.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1404, allocations: 235.6 kB / 491.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.1406, allocations: 189.4 kB / 491.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.1407, allocations: 106.7 kB / 491.5 MB, free: 9.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1409, allocations: 346.8 kB / 491.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.141, allocations: 125.9 kB / 492 MB, free: 8.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.1415, allocations: 413.6 kB / 492.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/0.1421, allocations: 0.581 MB / 493 MB, free: 7.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1421, allocations: 0 / 493 MB, free: 7.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007772/0.1429, allocations: 0.5716 MB / 493.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1429, allocations: 12 kB / 493.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.1429, allocations: 8.125 kB / 493.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.1429, allocations: 16 kB / 493.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.1434, allocations: 183.7 kB / 493.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.982e-05/0.1435, allocations: 24.36 kB / 493.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.1437, allocations: 67.38 kB / 493.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.1438, allocations: 32 kB / 493.9 MB, free: 6.703 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.0001641/0.1439, allocations: 185.5 kB / 494 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.1441, allocations: 35.62 kB / 494.1 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.1442, allocations: 41.7 kB / 494.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.1442, allocations: 15.92 kB / 494.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.1442, allocations: 4 kB / 494.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1442, allocations: 3.984 kB / 494.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.1452, allocations: 417.1 kB / 494.5 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1452, allocations: 8 kB / 494.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.1458, allocations: 119.9 kB / 494.7 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.1458, allocations: 4 kB / 494.7 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.1458, allocations: 19.94 kB / 494.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.1458, allocations: 7.938 kB / 494.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1458, allocations: 3.984 kB / 494.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007898/0.1466, allocations: 1.082 MB / 495.8 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.1467, allocations: 112.6 kB / 495.9 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.1468, allocations: 16 kB / 495.9 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.1472, allocations: 7.938 kB / 495.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.1472, allocations: 35.95 kB / 496 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1472, allocations: 16 kB / 496 MB, free: 4.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1474, allocations: 166 kB / 496.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1474, allocations: 0 / 496.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007884/0.1482, allocations: 131.8 kB / 496.3 MB, free: 4.199 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.0001966/0.1484, allocations: 123.1 kB / 496.4 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005545/0.149, allocations: 353.6 kB / 496.7 MB, free: 3.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.149, allocations: 4.188 kB / 496.7 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1491, allocations: 128.6 kB / 496.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.1503, allocations: 100.7 kB / 497 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.1529, allocations: 1.968 MB / 498.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1533, allocations: 0.8316 MB / 499.8 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.1535, allocations: 48.11 kB / 499.8 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.1536, allocations: 31.44 kB / 499.8 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1536, allocations: 0 / 499.8 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of Templates: time 0.007755/0.1613, allocations: 4.084 MB / 0.4921 GB, free: 12.48 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