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.0009374/0.0009373, allocations: 99.78 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009104/0.0009104, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003331, allocations: 7.984 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 63.46 MB / 481.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002704/0.1417, allocations: 2.416 MB / 483.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006831/0.1424, allocations: 458.6 kB / 484.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1426, allocations: 11.94 kB / 484.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.055e-05/0.1427, allocations: 47.61 kB / 484.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.143, allocations: 179.5 kB / 484.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.1432, allocations: 67.94 kB / 484.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1436, allocations: 391.2 kB / 484.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.1438, allocations: 125.1 kB / 485 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.144, allocations: 163.4 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.1443, allocations: 195.2 kB / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.1443, allocations: 24 kB / 485.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.1444, allocations: 24 kB / 485.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.1445, allocations: 79.67 kB / 485.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1446, allocations: 117.5 kB / 485.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.1449, allocations: 375.2 kB / 486 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.1449, allocations: 0 / 486 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.145, allocations: 0 / 486 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.145, allocations: 0 / 486 MB, free: 0.7539 MB / 350.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.0009185/0.1459, allocations: 0.6432 MB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1459, allocations: 8.031 kB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.575e-05/0.146, allocations: 51.44 kB / 486.7 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.1464, allocations: 294.2 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.1464, allocations: 33 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.477e-05/0.1465, allocations: 59.91 kB / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.1472, allocations: 450 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.1472, allocations: 15.83 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.1473, allocations: 20 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.1473, allocations: 19.95 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.1477, allocations: 251.7 kB / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.1498, allocations: 1.695 MB / 489.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.1503, allocations: 423.3 kB / 489.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1503, allocations: 4 kB / 489.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.1504, allocations: 50.5 kB / 490 MB, free: 12.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.834e-06/0.1504, allocations: 4 kB / 490 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.000665/0.1511, allocations: 345.5 kB / 490.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.1512, allocations: 269 kB / 490.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.1515, allocations: 255.3 kB / 490.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1515, allocations: 33.7 kB / 490.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1517, allocations: 243.6 kB / 491.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.1518, allocations: 185.4 kB / 491.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.1518, allocations: 12 kB / 491.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.152, allocations: 350.8 kB / 491.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.1522, allocations: 114 kB / 491.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.1525, allocations: 409.6 kB / 492.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.1528, allocations: 188.8 kB / 492.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.1528, allocations: 8 kB / 492.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007589/0.1536, allocations: 0.5596 MB / 492.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.1536, allocations: 12 kB / 492.9 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.1536, allocations: 16.84 kB / 492.9 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.1537, allocations: 16 kB / 492.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.1542, allocations: 183.7 kB / 493.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.1542, allocations: 19.94 kB / 493.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.1545, allocations: 59.38 kB / 493.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.1545, allocations: 39.98 kB / 493.2 MB, free: 8.965 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.1547, allocations: 177.6 kB / 493.4 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.1549, allocations: 39.58 kB / 493.5 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.122e-05/0.155, allocations: 45.69 kB / 493.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.155, allocations: 7.938 kB / 493.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.155, allocations: 8 kB / 493.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.155, allocations: 7.984 kB / 493.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009589/0.156, allocations: 417.1 kB / 493.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.156, allocations: 4 kB / 493.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.1565, allocations: 123.9 kB / 494.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1566, allocations: 4 kB / 494.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.1566, allocations: 15.94 kB / 494.1 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.1566, allocations: 7.938 kB / 494.1 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.1566, allocations: 4 kB / 494.1 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009168/0.1575, allocations: 1.171 MB / 495.3 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.1576, allocations: 112.7 kB / 495.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.1577, allocations: 16 kB / 495.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.1581, allocations: 12 kB / 495.4 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.1581, allocations: 23.97 kB / 495.4 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1581, allocations: 16 kB / 495.4 MB, free: 6.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1583, allocations: 170 kB / 495.6 MB, free: 6.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1583, allocations: 0 / 495.6 MB, free: 6.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007598/0.159, allocations: 139.6 kB / 495.7 MB, free: 6.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.1592, allocations: 120.2 kB / 495.9 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004785/0.1597, allocations: 337.8 kB / 496.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1597, allocations: 0 / 496.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1598, allocations: 129 kB / 496.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/0.1606, allocations: 78.97 kB / 496.4 MB, free: 5.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.1637, allocations: 2.436 MB / 498.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.1642, allocations: 0.8474 MB / 499.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.1644, allocations: 52.16 kB / 499.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.1645, allocations: 31.44 kB / 499.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1645, allocations: 0 / 499.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of Templates: time 0.007881/0.1724, allocations: 3.722 MB / 0.4917 GB, free: 14.53 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","../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches