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.001323/0.001323, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 73.47 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1309, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004271/0.1352, allocations: 3.085 MB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008808/0.1361, allocations: 406.5 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.1365, allocations: 11.94 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1367, allocations: 71.31 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.1372, allocations: 158.6 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1375, allocations: 107.8 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.1381, allocations: 0.5326 MB / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.1384, allocations: 168.8 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.1387, allocations: 195.3 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.1391, allocations: 215 kB / 485 MB, free: 260 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.1391, allocations: 40 kB / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.1392, allocations: 40 kB / 485.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.1393, allocations: 103.7 kB / 485.2 MB, free: 76 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.1396, allocations: 250.9 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.1401, allocations: 0.5102 MB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1401, allocations: 0 / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1401, allocations: 3.938 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.1401, allocations: 0 / 486 MB, free: 15.31 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.0009236/0.141, allocations: 0.7136 MB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1411, allocations: 8.031 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.288e-05/0.1412, allocations: 90.64 kB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.1413, allocations: 56.28 kB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1416, allocations: 283.5 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.1416, allocations: 37.31 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/0.1417, allocations: 56.28 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.1423, allocations: 462.7 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.013e-05/0.1424, allocations: 15.83 kB / 487.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.1424, allocations: 20 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.1424, allocations: 12 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.1429, allocations: 262 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1452, allocations: 1.695 MB / 489.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.1457, allocations: 423.8 kB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.1459, allocations: 163.6 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1459, allocations: 4 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1459, allocations: 50.5 kB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.583e-06/0.146, allocations: 0 / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007118/0.1467, allocations: 357.5 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.1468, allocations: 269 kB / 490.9 MB, free: 9.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.147, allocations: 251.1 kB / 491.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1471, allocations: 37.69 kB / 491.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1472, allocations: 239.6 kB / 491.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.1474, allocations: 185.4 kB / 491.6 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.1475, allocations: 114.6 kB / 491.7 MB, free: 9.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1476, allocations: 346.8 kB / 492 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.1478, allocations: 114 kB / 492.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.1482, allocations: 425.6 kB / 492.6 MB, free: 8.133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.1488, allocations: 0.5732 MB / 493.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.1488, allocations: 4 kB / 493.2 MB, free: 7.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008704/0.1497, allocations: 0.5716 MB / 493.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1497, allocations: 14.44 kB / 493.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.1497, allocations: 8 kB / 493.7 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/0.1498, allocations: 19.94 kB / 493.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.1503, allocations: 175.7 kB / 493.9 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/0.1503, allocations: 23.92 kB / 494 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.1506, allocations: 63.38 kB / 494 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.1507, allocations: 31.98 kB / 494.1 MB, free: 6.512 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.0002217/0.1509, allocations: 193.6 kB / 494.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.1511, allocations: 35.62 kB / 494.3 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.095e-05/0.1512, allocations: 41.7 kB / 494.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1512, allocations: 7.938 kB / 494.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1512, allocations: 4 kB / 494.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.1512, allocations: 7.984 kB / 494.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009476/0.1522, allocations: 413.3 kB / 494.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.1522, allocations: 8 kB / 494.7 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/0.1527, allocations: 127.8 kB / 494.9 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.1528, allocations: 4 kB / 494.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.1528, allocations: 16 kB / 494.9 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.1528, allocations: 7.938 kB / 494.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1528, allocations: 4 kB / 494.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.1536, allocations: 1.078 MB / 496 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.1537, allocations: 112.6 kB / 496.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.1537, allocations: 19.94 kB / 496.1 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.1542, allocations: 8 kB / 496.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1542, allocations: 31.84 kB / 496.2 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.1542, allocations: 23.98 kB / 496.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1544, allocations: 170 kB / 496.3 MB, free: 4.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1544, allocations: 0 / 496.3 MB, free: 4.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008274/0.1552, allocations: 131.8 kB / 496.5 MB, free: 3.996 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.001187/0.1564, allocations: 1.627 MB / 498.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005906/0.157, allocations: 369 kB / 498.5 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.157, allocations: 0.75 kB / 498.5 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.1572, allocations: 128.8 kB / 498.6 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.1584, allocations: 99.12 kB / 498.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/0.1651, allocations: 5.61 MB / 0.4925 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.1657, allocations: 0.8353 MB / 0.4933 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.1659, allocations: 48.16 kB / 0.4933 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.1661, allocations: 139.4 kB / 0.4935 GB, free: 10.72 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1661, allocations: 0 / 0.4935 GB, free: 10.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.1943, allocations: 8.113 MB / 0.5014 GB, free: 2.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.44, allocations: 10.92 kB / 0.5014 GB, free: 2.73 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