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.001331/0.001332, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.239/0.239, allocations: 46.12 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 75.53 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1359, allocations: 62.46 MB / 480.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004683/0.1406, allocations: 3.073 MB / 483.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008468/0.1415, allocations: 418.5 kB / 484.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1416, allocations: 8 kB / 484.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.1418, allocations: 59.31 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.1421, allocations: 166.5 kB / 484.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1424, allocations: 103.9 kB / 484.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.1429, allocations: 0.5365 MB / 485.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.1433, allocations: 164.8 kB / 485.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.1435, allocations: 199.2 kB / 485.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.1438, allocations: 215 kB / 485.7 MB, free: 332 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.1439, allocations: 40 kB / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.1439, allocations: 44 kB / 485.8 MB, free: 248 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.144, allocations: 91.69 kB / 485.8 MB, free: 156 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.1443, allocations: 254.9 kB / 486.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.1449, allocations: 0.5063 MB / 486.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1449, allocations: 4 kB / 486.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1449, allocations: 0 / 486.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.1449, allocations: 0 / 486.6 MB, free: 15.39 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.00109/0.146, allocations: 0.7097 MB / 487.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.146, allocations: 19.97 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.49e-05/0.1461, allocations: 48.38 kB / 487.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1465, allocations: 295.4 kB / 487.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.1466, allocations: 37.38 kB / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.52e-05/0.1466, allocations: 56.28 kB / 487.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.1474, allocations: 454.7 kB / 488.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.1474, allocations: 16.02 kB / 488.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.1475, allocations: 31.88 kB / 488.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.1475, allocations: 12 kB / 488.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.148, allocations: 265 kB / 488.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.1504, allocations: 1.695 MB / 490.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.151, allocations: 423.8 kB / 490.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.1513, allocations: 159.7 kB / 490.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1513, allocations: 11.94 kB / 490.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.1513, allocations: 46.5 kB / 490.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.1514, allocations: 4 kB / 490.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007718/0.1521, allocations: 349.1 kB / 491.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.1523, allocations: 269 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.1526, allocations: 250.6 kB / 491.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1527, allocations: 33.7 kB / 491.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.1529, allocations: 240.1 kB / 492 MB, free: 9.617 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.153, allocations: 193.4 kB / 492.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.1532, allocations: 106.7 kB / 492.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1534, allocations: 350.7 kB / 492.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.1536, allocations: 121.9 kB / 492.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.154, allocations: 413.6 kB / 493.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.1548, allocations: 0.5732 MB / 493.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.1548, allocations: 4 kB / 493.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008983/0.1557, allocations: 0.5682 MB / 494.3 MB, free: 7.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.1558, allocations: 10.5 kB / 494.3 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.1558, allocations: 19.94 kB / 494.3 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/0.1558, allocations: 16.06 kB / 494.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.1564, allocations: 183.7 kB / 494.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.593e-05/0.1564, allocations: 23.86 kB / 494.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.1567, allocations: 63.38 kB / 494.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.1568, allocations: 32 kB / 494.6 MB, free: 6.668 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.000221/0.157, allocations: 185.5 kB / 494.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.1572, allocations: 35.62 kB / 494.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.1573, allocations: 45.7 kB / 494.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.1573, allocations: 15.92 kB / 494.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.1573, allocations: 4 kB / 494.9 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1573, allocations: 0 / 494.9 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.1584, allocations: 417.1 kB / 495.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1584, allocations: 0 / 495.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.159, allocations: 123.9 kB / 495.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.159, allocations: 4 kB / 495.4 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.159, allocations: 16 kB / 495.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.1591, allocations: 11.88 kB / 495.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1591, allocations: 3.984 kB / 495.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1601, allocations: 1.086 MB / 496.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1602, allocations: 112.6 kB / 496.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.1603, allocations: 16 kB / 496.7 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.1607, allocations: 7.938 kB / 496.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.1607, allocations: 31.95 kB / 496.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1608, allocations: 12 kB / 496.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.1609, allocations: 170 kB / 496.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1609, allocations: 4 kB / 496.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000853/0.1618, allocations: 131.8 kB / 497 MB, free: 4.164 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.0002213/0.162, allocations: 119.1 kB / 497.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006577/0.1627, allocations: 360.8 kB / 497.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1627, allocations: 0 / 497.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.1629, allocations: 130.2 kB / 497.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.1641, allocations: 104.9 kB / 497.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.1674, allocations: 1.993 MB / 499.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.168, allocations: 0.8238 MB / 0.4888 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-05/0.1681, allocations: 35.44 kB / 0.4888 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1681, allocations: 0 / 0.4888 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of Templates: time 0.008988/0.1771, allocations: 5.021 MB / 0.4937 GB, free: 11.5 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/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