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.001251/0.001251, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.4 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.2292/0.2292, allocations: 46.1 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 84.78 kB / 418.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1141, allocations: 62.44 MB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004318/0.1184, allocations: 3.085 MB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009666/0.1194, allocations: 406.5 kB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.1197, allocations: 11.94 kB / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.12, allocations: 71.3 kB / 484.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004462/0.1204, allocations: 158.6 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1207, allocations: 99.81 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.1213, allocations: 0.5365 MB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.1216, allocations: 160.8 kB / 485.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.1219, allocations: 199.2 kB / 485.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.1221, allocations: 223 kB / 485.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.8e-05/0.1222, allocations: 40 kB / 485.7 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.658e-05/0.1223, allocations: 44 kB / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.1224, allocations: 91.69 kB / 485.8 MB, free: 200 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.1227, allocations: 246.9 kB / 486 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.1231, allocations: 0.5101 MB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1232, allocations: 0 / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1232, allocations: 4 kB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.1232, allocations: 0 / 486.5 MB, free: 15.44 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.0009786/0.1242, allocations: 0.7174 MB / 487.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1242, allocations: 12.03 kB / 487.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.1243, allocations: 48.38 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.1246, allocations: 299.4 kB / 487.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.1247, allocations: 37.38 kB / 487.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.59e-05/0.1248, allocations: 52.28 kB / 487.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.1254, allocations: 458.6 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.1254, allocations: 8.094 kB / 488.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.1255, allocations: 27.94 kB / 488.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1255, allocations: 12 kB / 488.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.1259, allocations: 262 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.1281, allocations: 1.703 MB / 490.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.1286, allocations: 411.9 kB / 490.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.1288, allocations: 163.6 kB / 490.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1288, allocations: 11.98 kB / 490.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1288, allocations: 46.5 kB / 490.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.274e-06/0.1288, allocations: 0 / 490.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007068/0.1296, allocations: 358.2 kB / 491.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.1297, allocations: 269 kB / 491.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.1299, allocations: 246.6 kB / 491.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.13, allocations: 42.14 kB / 491.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1301, allocations: 247.6 kB / 491.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.1302, allocations: 181.4 kB / 492.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.1304, allocations: 110.7 kB / 492.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1305, allocations: 350.8 kB / 492.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.1307, allocations: 114.1 kB / 492.6 MB, free: 8.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.1311, allocations: 421.6 kB / 493.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.1317, allocations: 0.5723 MB / 493.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.1317, allocations: 4 kB / 493.6 MB, free: 7.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008161/0.1325, allocations: 0.5677 MB / 494.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1326, allocations: 10.72 kB / 494.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.1326, allocations: 16 kB / 494.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.1326, allocations: 12 kB / 494.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.1331, allocations: 191.6 kB / 494.4 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.1332, allocations: 20 kB / 494.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.1334, allocations: 63.36 kB / 494.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.1335, allocations: 36 kB / 494.5 MB, free: 6.715 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.0001649/0.1337, allocations: 181.5 kB / 494.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.1339, allocations: 43.62 kB / 494.8 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.1339, allocations: 37.7 kB / 494.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.134, allocations: 11.94 kB / 494.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.134, allocations: 4 kB / 494.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.134, allocations: 3.984 kB / 494.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.1349, allocations: 417.2 kB / 495.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1349, allocations: 4.109 kB / 495.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.1355, allocations: 123.9 kB / 495.4 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.1355, allocations: 7.984 kB / 495.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.1355, allocations: 15.94 kB / 495.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.1355, allocations: 7.938 kB / 495.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1356, allocations: 4 kB / 495.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.1364, allocations: 1.078 MB / 496.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.1365, allocations: 112.6 kB / 496.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.1365, allocations: 19.98 kB / 496.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.1369, allocations: 7.938 kB / 496.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.137, allocations: 27.97 kB / 496.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.137, allocations: 12 kB / 496.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1372, allocations: 178 kB / 496.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1372, allocations: 0 / 496.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007865/0.1379, allocations: 131.8 kB / 496.9 MB, free: 4.215 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.0001746/0.1381, allocations: 123 kB / 497.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005476/0.1387, allocations: 359.9 kB / 497.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1387, allocations: 1.875 kB / 497.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.1389, allocations: 127.8 kB / 497.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.1401, allocations: 112.4 kB / 497.7 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.1429, allocations: 1.985 MB / 499.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.1434, allocations: 0.8238 MB / 0.4887 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.761e-05/0.1435, allocations: 35.44 kB / 0.4888 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1435, allocations: 0 / 0.4888 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of Templates: time 0.00779/0.1513, allocations: 5.021 MB / 0.4937 GB, free: 11.55 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