Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 107.1 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.81 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 60.84 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003552/0.1142, allocations: 3.053 MB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005684/0.1148, allocations: 422.5 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1149, allocations: 8 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.1151, allocations: 63.3 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.1153, allocations: 170.5 kB / 474.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1155, allocations: 95.88 kB / 474.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.1159, allocations: 0.5442 MB / 475 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.1161, allocations: 168.7 kB / 475.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1163, allocations: 195.2 kB / 475.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1165, allocations: 215.1 kB / 475.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.1166, allocations: 40 kB / 475.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.1167, allocations: 43.94 kB / 475.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.1167, allocations: 95.69 kB / 475.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.1169, allocations: 246.9 kB / 476 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.1173, allocations: 0.5255 MB / 476.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1173, allocations: 0 / 476.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1173, allocations: 4 kB / 476.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1173, allocations: 0 / 476.6 MB, free: 7.758 MB / 350.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.000823/0.1182, allocations: 0.7058 MB / 477.3 MB, free: 7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.1182, allocations: 12.03 kB / 477.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.064e-05/0.1183, allocations: 48.38 kB / 477.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.1186, allocations: 291.5 kB / 477.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1186, allocations: 41.38 kB / 477.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.1187, allocations: 56.28 kB / 477.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.1192, allocations: 454.7 kB / 478.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.1193, allocations: 12.09 kB / 478.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.1193, allocations: 23.94 kB / 478.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1193, allocations: 15.94 kB / 478.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.1197, allocations: 263.6 kB / 478.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.1216, allocations: 1.687 MB / 480.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.122, allocations: 419.7 kB / 480.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.1222, allocations: 151.7 kB / 480.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1222, allocations: 11.94 kB / 480.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1222, allocations: 42.56 kB / 480.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.1223, allocations: 0 / 480.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007535/0.123, allocations: 362.6 kB / 481.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.1231, allocations: 272.9 kB / 481.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1233, allocations: 250.6 kB / 481.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1234, allocations: 33.7 kB / 481.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1235, allocations: 243.6 kB / 481.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.1236, allocations: 181.4 kB / 482.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.1238, allocations: 122.9 kB / 482.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1239, allocations: 346.8 kB / 482.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1241, allocations: 118 kB / 482.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.1245, allocations: 421.3 kB / 483 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.1252, allocations: 0.5685 MB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.1252, allocations: 4 kB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007332/0.1259, allocations: 0.5672 MB / 484.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1259, allocations: 8 kB / 484.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.126, allocations: 15.94 kB / 484.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.126, allocations: 12.81 kB / 484.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.1265, allocations: 187.7 kB / 484.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.1266, allocations: 27.92 kB / 484.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.1268, allocations: 63.38 kB / 484.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.1269, allocations: 32 kB / 484.5 MB, free: 15.07 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.0001573/0.127, allocations: 185.5 kB / 484.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.1273, allocations: 35.62 kB / 484.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.1273, allocations: 41.7 kB / 484.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.1274, allocations: 11.94 kB / 484.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.1274, allocations: 7.984 kB / 484.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1274, allocations: 11.92 kB / 484.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009824/0.1284, allocations: 417.3 kB / 485.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1284, allocations: 4 kB / 485.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.1289, allocations: 123.9 kB / 485.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.1289, allocations: 4 kB / 485.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.129, allocations: 16 kB / 485.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.129, allocations: 7.938 kB / 485.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.129, allocations: 3.938 kB / 485.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.1299, allocations: 1.079 MB / 486.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.13, allocations: 120.6 kB / 486.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.1301, allocations: 8 kB / 486.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.1305, allocations: 15.94 kB / 486.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.1305, allocations: 27.97 kB / 486.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1305, allocations: 8 kB / 486.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.1307, allocations: 178 kB / 486.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1307, allocations: 0 / 486.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007643/0.1315, allocations: 131.8 kB / 486.9 MB, free: 12.55 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.000222/0.1317, allocations: 123.5 kB / 487.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006082/0.1323, allocations: 353 kB / 487.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1324, allocations: 0 / 487.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1325, allocations: 127.8 kB / 487.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.1337, allocations: 104.8 kB / 487.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.1366, allocations: 1.949 MB / 489.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.1373, allocations: 0.8352 MB / 490.4 MB, free: 8.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.1374, allocations: 44.17 kB / 490.5 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.576e-05/0.1375, allocations: 35.44 kB / 490.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1375, allocations: 0 / 490.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Templates: time 0.008715/0.1462, allocations: 4.086 MB / 494.6 MB, free: 4.863 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches