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.001857/0.001857, allocations: 115.7 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002532/0.002533, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.291/2.291, allocations: 227.4 MB / 247.1 MB, free: 8.945 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2831/0.2831, allocations: 46.1 MB / 344.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 78.62 kB / 417.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1243, allocations: 62.44 MB / 480.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004799/0.1291, allocations: 3.107 MB / 483.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1303, allocations: 426.4 kB / 483.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000386/0.1307, allocations: 8 kB / 483.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.131, allocations: 47.62 kB / 483.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.1316, allocations: 146.8 kB / 483.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.132, allocations: 79.94 kB / 483.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008254/0.1328, allocations: 0.5404 MB / 484.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.1332, allocations: 160.8 kB / 484.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.1336, allocations: 199.3 kB / 484.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003564/0.134, allocations: 219 kB / 485 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.409e-05/0.1341, allocations: 40 kB / 485.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1342, allocations: 40 kB / 485.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1343, allocations: 95.69 kB / 485.2 MB, free: 496 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.1346, allocations: 246.9 kB / 485.5 MB, free: 248 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.1351, allocations: 399.2 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1351, allocations: 0 / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.1351, allocations: 4 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.1352, allocations: 0 / 485.9 MB, free: 15.85 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.0013/0.1365, allocations: 0.7136 MB / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1365, allocations: 8.031 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.1367, allocations: 52.38 kB / 486.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.137, allocations: 299.4 kB / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.1371, allocations: 37.31 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.1372, allocations: 56.28 kB / 487 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.138, allocations: 458.6 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.138, allocations: 12.08 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.138, allocations: 27.94 kB / 487.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.1381, allocations: 12 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.1385, allocations: 266.6 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.141, allocations: 1.695 MB / 489.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.1416, allocations: 415.4 kB / 489.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.1419, allocations: 159.6 kB / 490 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1419, allocations: 8 kB / 490 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.142, allocations: 50.5 kB / 490.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.906e-06/0.142, allocations: 0 / 490.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007598/0.1427, allocations: 353.5 kB / 490.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.1429, allocations: 277.5 kB / 490.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1432, allocations: 254.5 kB / 490.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1432, allocations: 33.7 kB / 491 MB, free: 10.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1434, allocations: 235.6 kB / 491.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.1435, allocations: 185.4 kB / 491.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1437, allocations: 114.7 kB / 491.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1438, allocations: 346.8 kB / 491.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.144, allocations: 117.9 kB / 492 MB, free: 9.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.1444, allocations: 417.6 kB / 492.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.1451, allocations: 0.5775 MB / 492.9 MB, free: 8.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-06/0.1451, allocations: 4 kB / 492.9 MB, free: 8.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000897/0.146, allocations: 0.5752 MB / 493.5 MB, free: 7.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1461, allocations: 8 kB / 493.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.1461, allocations: 12 kB / 493.5 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.1461, allocations: 12 kB / 493.6 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.1467, allocations: 183.7 kB / 493.7 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/0.1467, allocations: 19.92 kB / 493.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.147, allocations: 63.72 kB / 493.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.1471, allocations: 36 kB / 493.9 MB, free: 7.133 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.0002098/0.1473, allocations: 185.5 kB / 494 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.1475, allocations: 35.62 kB / 494.1 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.286e-05/0.1476, allocations: 41.7 kB / 494.1 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.1476, allocations: 11.94 kB / 494.1 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.1476, allocations: 3.984 kB / 494.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1476, allocations: 4 kB / 494.1 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1488, allocations: 417.1 kB / 494.5 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.1488, allocations: 0 / 494.5 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.1493, allocations: 135.8 kB / 494.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.1494, allocations: 4 kB / 494.7 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.1494, allocations: 16 kB / 494.7 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/0.1494, allocations: 7.938 kB / 494.7 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1494, allocations: 128 / 494.7 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.1504, allocations: 1.085 MB / 495.8 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1505, allocations: 116.6 kB / 495.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.1505, allocations: 12 kB / 495.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.151, allocations: 11.94 kB / 495.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.151, allocations: 31.97 kB / 495.9 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.151, allocations: 15.98 kB / 496 MB, free: 4.926 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1512, allocations: 170 kB / 496.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.206e-06/0.1512, allocations: 0 / 496.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00088/0.1521, allocations: 135.7 kB / 496.3 MB, free: 4.625 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.0002334/0.1523, allocations: 119.1 kB / 496.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000607/0.153, allocations: 357.7 kB / 496.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.153, allocations: 0 / 496.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.1532, allocations: 131.9 kB / 496.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.1544, allocations: 107.8 kB / 497 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.1575, allocations: 2.154 MB / 499.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.158, allocations: 0.8277 MB / 499.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1582, allocations: 39.44 kB / 500 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1582, allocations: 0 / 500 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of Templates: time 0.009251/0.1674, allocations: 5.024 MB / 0.4932 GB, free: 11.79 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