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.00115/0.00115, allocations: 117 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 208.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2095/0.2095, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 62.44 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004207/0.1104, allocations: 3.079 MB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006861/0.1111, allocations: 414.5 kB / 484.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.1112, allocations: 15.94 kB / 485 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.1114, allocations: 67.31 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.1117, allocations: 154.6 kB / 485.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1119, allocations: 107.8 kB / 485.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00046/0.1124, allocations: 0.5365 MB / 485.8 MB, free: 168 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.1127, allocations: 160.8 kB / 486 MB, free: 8 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1129, allocations: 199.3 kB / 486.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1131, allocations: 219 kB / 486.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.316e-05/0.1132, allocations: 40 kB / 486.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/0.1133, allocations: 44 kB / 486.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.1133, allocations: 91.69 kB / 486.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.1136, allocations: 246.9 kB / 486.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.114, allocations: 0.5216 MB / 487.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.391e-06/0.1141, allocations: 4 kB / 487.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1141, allocations: 3.938 kB / 487.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1141, allocations: 0 / 487.3 MB, free: 14.65 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.0009227/0.115, allocations: 0.7097 MB / 488 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1151, allocations: 8.031 kB / 488 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.1151, allocations: 56.31 kB / 488.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.1155, allocations: 292.3 kB / 488.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.1155, allocations: 33.38 kB / 488.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.1156, allocations: 60.2 kB / 488.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.1162, allocations: 458.7 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.1163, allocations: 12.09 kB / 488.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.1163, allocations: 23.94 kB / 489 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1163, allocations: 12 kB / 489 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.1167, allocations: 270.2 kB / 489.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.1188, allocations: 1.691 MB / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.1193, allocations: 411.4 kB / 491.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1195, allocations: 164.2 kB / 491.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1196, allocations: 4 kB / 491.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.1196, allocations: 54.47 kB / 491.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.1196, allocations: 0 / 491.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007342/0.1203, allocations: 352.9 kB / 491.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.1205, allocations: 269.4 kB / 492.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.1207, allocations: 250.6 kB / 492.4 MB, free: 9.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1207, allocations: 37.7 kB / 492.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1209, allocations: 239.6 kB / 492.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.121, allocations: 181.4 kB / 492.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.1211, allocations: 110.7 kB / 493 MB, free: 8.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1213, allocations: 346.8 kB / 493.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.1215, allocations: 117.9 kB / 493.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.1218, allocations: 425.6 kB / 493.8 MB, free: 7.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006067/0.1224, allocations: 0.5775 MB / 494.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.1225, allocations: 4 kB / 494.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000785/0.1233, allocations: 0.5714 MB / 495 MB, free: 6.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1233, allocations: 12 kB / 495 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1233, allocations: 8 kB / 495 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.1233, allocations: 16 kB / 495 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.1239, allocations: 183.7 kB / 495.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/0.1239, allocations: 19.94 kB / 495.2 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.1242, allocations: 59.38 kB / 495.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1242, allocations: 35.94 kB / 495.3 MB, free: 5.953 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.0001765/0.1244, allocations: 193.7 kB / 495.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.1246, allocations: 35.62 kB / 495.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.75e-05/0.1247, allocations: 45.64 kB / 495.6 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.1247, allocations: 7.938 kB / 495.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.1247, allocations: 4 kB / 495.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1247, allocations: 0 / 495.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009786/0.1257, allocations: 417.2 kB / 496 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1257, allocations: 4 kB / 496 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.1263, allocations: 123.8 kB / 496.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1263, allocations: 4 kB / 496.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.1264, allocations: 19.98 kB / 496.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.1264, allocations: 7.938 kB / 496.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1264, allocations: 4 kB / 496.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.1272, allocations: 1.078 MB / 497.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.1273, allocations: 112.6 kB / 497.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.1273, allocations: 16 kB / 497.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.1277, allocations: 12.06 kB / 497.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.1278, allocations: 31.95 kB / 497.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.1278, allocations: 20 kB / 497.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.128, allocations: 173.9 kB / 497.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.128, allocations: 0 / 497.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008448/0.1288, allocations: 131.8 kB / 497.7 MB, free: 3.441 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.000227/0.1291, allocations: 115.1 kB / 497.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.1296, allocations: 345.7 kB / 498.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1296, allocations: 0 / 498.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.1299, allocations: 129.2 kB / 498.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.131, allocations: 100.6 kB / 498.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.1336, allocations: 1.953 MB / 0.4886 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.1341, allocations: 0.8238 MB / 0.4894 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000157/0.1342, allocations: 60.08 kB / 0.4895 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.1343, allocations: 31.44 kB / 0.4895 GB, free: 15.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1343, allocations: 0 / 0.4895 GB, free: 15.8 MB / 382.1 MB Notification: Performance of Templates: time 0.007929/0.1423, allocations: 4.084 MB / 0.4935 GB, free: 11.76 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 -s gbode -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