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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.09 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002581/0.002581, allocations: 72.81 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1475, allocations: 62.45 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004376/0.1519, allocations: 3.115 MB / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1529, allocations: 414.5 kB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.1534, allocations: 8 kB / 482.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.1536, allocations: 51.61 kB / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.1541, allocations: 142.8 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1544, allocations: 91.92 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006343/0.1551, allocations: 0.5052 MB / 483.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.1554, allocations: 141.2 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.1557, allocations: 187.2 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.156, allocations: 211 kB / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.156, allocations: 28 kB / 484.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1562, allocations: 24 kB / 484.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.1562, allocations: 83.69 kB / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.1565, allocations: 230.9 kB / 484.6 MB, free: 388 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.157, allocations: 0.4985 MB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.157, allocations: 0 / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.157, allocations: 0 / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.157, allocations: 0 / 485.1 MB, free: 15.88 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.001098/0.1581, allocations: 0.7136 MB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1582, allocations: 8.875 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.1583, allocations: 90.7 kB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.667e-05/0.1584, allocations: 56.28 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.1587, allocations: 292.3 kB / 486.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.1588, allocations: 33.38 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.18e-05/0.1589, allocations: 60.27 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.1595, allocations: 454.7 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.1595, allocations: 15.84 kB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.1596, allocations: 20 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1596, allocations: 12 kB / 486.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.16, allocations: 271.6 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.1622, allocations: 1.695 MB / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.1628, allocations: 419.4 kB / 489.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.163, allocations: 155.6 kB / 489.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.163, allocations: 4.547 kB / 489.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.163, allocations: 46.5 kB / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.163, allocations: 0 / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007205/0.1638, allocations: 366.4 kB / 489.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.1639, allocations: 277 kB / 490 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.1642, allocations: 246.6 kB / 490.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1642, allocations: 33.7 kB / 490.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1644, allocations: 243.6 kB / 490.5 MB, free: 10 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1645, allocations: 181.4 kB / 490.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.1647, allocations: 110.6 kB / 490.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1648, allocations: 354.8 kB / 491.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.165, allocations: 121.9 kB / 491.3 MB, free: 9.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.1654, allocations: 417.6 kB / 491.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/0.1661, allocations: 0.5762 MB / 492.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.1662, allocations: 4 kB / 492.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000916/0.1671, allocations: 0.5714 MB / 492.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.1671, allocations: 8 kB / 492.8 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.1671, allocations: 11.98 kB / 492.9 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.1672, allocations: 19.94 kB / 492.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.1677, allocations: 172.3 kB / 493 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.914e-05/0.1678, allocations: 27.92 kB / 493.1 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.1681, allocations: 63.38 kB / 493.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.1681, allocations: 32 kB / 493.2 MB, free: 7.066 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.0002087/0.1683, allocations: 185.5 kB / 493.3 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.1685, allocations: 39.61 kB / 493.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.1687, allocations: 41.7 kB / 493.4 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.1687, allocations: 7.938 kB / 493.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.1687, allocations: 4 kB / 493.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1687, allocations: 7.938 kB / 493.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009723/0.1697, allocations: 413.2 kB / 493.8 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1697, allocations: 7.938 kB / 493.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.1702, allocations: 124 kB / 494 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/0.1703, allocations: 8 kB / 494 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.1703, allocations: 12 kB / 494 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.1703, allocations: 11.92 kB / 494 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1703, allocations: 4 kB / 494 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/0.1712, allocations: 1.078 MB / 495.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1713, allocations: 116.6 kB / 495.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.1714, allocations: 11.94 kB / 495.2 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.1718, allocations: 16 kB / 495.2 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.1719, allocations: 31.89 kB / 495.3 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1719, allocations: 12 kB / 495.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.1721, allocations: 174 kB / 495.4 MB, free: 4.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1721, allocations: 0 / 495.4 MB, free: 4.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008185/0.173, allocations: 131.8 kB / 495.6 MB, free: 4.559 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.001314/0.1743, allocations: 1.635 MB / 497.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005602/0.1749, allocations: 337.1 kB / 497.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1749, allocations: 0 / 497.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.175, allocations: 127.8 kB / 497.7 MB, free: 2.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.1763, allocations: 95.95 kB / 497.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/0.1827, allocations: 5.769 MB / 0.4917 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.1832, allocations: 0.8278 MB / 0.4925 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.1834, allocations: 56.14 kB / 0.4926 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.1836, allocations: 143.4 kB / 0.4927 GB, free: 11.14 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1836, allocations: 0 / 0.4927 GB, free: 11.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.204, allocations: 7.832 MB / 0.5004 GB, free: 3.469 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.2042, allocations: 218.6 kB / 0.5006 GB, free: 3.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.117, allocations: 4 kB / 0.5006 GB, free: 3.207 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > 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