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.0008397/0.0008397, allocations: 95.83 kB / 18.01 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 205.5 kB / 18.93 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 247.5 MB, free: 9.453 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1905/0.1905, allocations: 46.18 MB / 345.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002619, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1054, allocations: 63.57 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002919/0.1084, allocations: 2.733 MB / 486.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006485/0.1091, allocations: 414.5 kB / 486.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1092, allocations: 11.94 kB / 486.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.023e-05/0.1093, allocations: 47.62 kB / 486.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.1096, allocations: 138.9 kB / 487.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.1098, allocations: 83.92 kB / 487.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004304/0.1102, allocations: 0.5247 MB / 487.7 MB, free: 168 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.1105, allocations: 133.2 kB / 487.8 MB, free: 36 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.1107, allocations: 167.3 kB / 488 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.1109, allocations: 207 kB / 488.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.1109, allocations: 24 kB / 488.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.505e-05/0.111, allocations: 24 kB / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.1111, allocations: 79.69 kB / 488.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.1113, allocations: 264.5 kB / 488.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.1116, allocations: 379.1 kB / 488.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1116, allocations: 4 kB / 488.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1116, allocations: 0 / 488.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1116, allocations: 0 / 488.9 MB, free: 14.9 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.0007887/0.1124, allocations: 0.6317 MB / 489.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1125, allocations: 20.86 kB / 489.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.1126, allocations: 48.38 kB / 489.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1129, allocations: 296.2 kB / 489.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.1129, allocations: 37.38 kB / 489.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.113, allocations: 52.28 kB / 490 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.1136, allocations: 458.7 kB / 490.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.1137, allocations: 12.09 kB / 490.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.1137, allocations: 23.94 kB / 490.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1137, allocations: 12 kB / 490.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.1141, allocations: 271.6 kB / 490.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.1161, allocations: 1.699 MB / 492.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.1166, allocations: 415.6 kB / 492.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.1168, allocations: 155.7 kB / 493 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1168, allocations: 4 kB / 493 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.1169, allocations: 50.48 kB / 493.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.1169, allocations: 0 / 493.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006661/0.1176, allocations: 354.3 kB / 493.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.1177, allocations: 272.9 kB / 493.7 MB, free: 9.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1179, allocations: 250.6 kB / 493.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1179, allocations: 30.2 kB / 494 MB, free: 9.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1181, allocations: 251.6 kB / 494.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.1182, allocations: 177.5 kB / 494.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.1183, allocations: 57.69 kB / 494.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1184, allocations: 346.8 kB / 494.8 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.1186, allocations: 121.9 kB / 494.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.119, allocations: 417.6 kB / 495.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.1196, allocations: 0.5845 MB / 495.9 MB, free: 7.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.1196, allocations: 4 kB / 495.9 MB, free: 7.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007662/0.1204, allocations: 0.5637 MB / 496.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1204, allocations: 12 kB / 496.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.1204, allocations: 12.12 kB / 496.5 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.1204, allocations: 19.94 kB / 496.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.121, allocations: 179.7 kB / 496.7 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.121, allocations: 19.94 kB / 496.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.1213, allocations: 67.28 kB / 496.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.1213, allocations: 28.23 kB / 496.8 MB, free: 6.324 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.0001774/0.1215, allocations: 197.5 kB / 497 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.1217, allocations: 35.62 kB / 497 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.089e-05/0.1218, allocations: 45.7 kB / 497 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.1218, allocations: 7.938 kB / 497.1 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.1218, allocations: 4 kB / 497.1 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.1218, allocations: 4 kB / 497.1 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000948/0.1228, allocations: 409.2 kB / 497.5 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1228, allocations: 4 kB / 497.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.1233, allocations: 123.9 kB / 497.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1233, allocations: 4 kB / 497.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.1234, allocations: 15.98 kB / 497.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.1234, allocations: 7.938 kB / 497.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1234, allocations: 11.94 kB / 497.6 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.1241, allocations: 1.074 MB / 498.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.1242, allocations: 120.5 kB / 498.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.1243, allocations: 12 kB / 498.8 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.1247, allocations: 15.94 kB / 498.8 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.1247, allocations: 31.89 kB / 498.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1247, allocations: 12 kB / 498.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1249, allocations: 178 kB / 499.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1249, allocations: 4 kB / 499.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007887/0.1257, allocations: 131.8 kB / 499.2 MB, free: 3.805 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.0001347/0.1258, allocations: 107.1 kB / 499.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005274/0.1264, allocations: 348.5 kB / 499.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1264, allocations: 0 / 499.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1265, allocations: 129.3 kB / 499.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.1278, allocations: 109.5 kB / 499.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.1307, allocations: 2.496 MB / 0.4906 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1311, allocations: 0.8319 MB / 0.4914 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.475e-05/0.1312, allocations: 35.44 kB / 0.4914 GB, free: 15.67 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1312, allocations: 0 / 0.4914 GB, free: 15.67 MB / 382.1 MB Notification: Performance of Templates: time 0.00694/0.1381, allocations: 4.954 MB / 0.4963 GB, free: 10.72 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