Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001584/0.001584, allocations: 106.9 kB / 17.03 MB, free: 5.66 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.001684/0.001684, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.201/0.201, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 69.34 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09951, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003223/0.1028, allocations: 3.053 MB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006094/0.1034, allocations: 418.5 kB / 445.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1036, allocations: 11.94 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1037, allocations: 67.3 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.1039, allocations: 162.6 kB / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.1042, allocations: 99.81 kB / 445.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.1045, allocations: 0.5364 MB / 446.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.1047, allocations: 160.7 kB / 446.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1049, allocations: 191.4 kB / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.1051, allocations: 223 kB / 446.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.1051, allocations: 40 kB / 446.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.434e-05/0.1052, allocations: 43.94 kB / 446.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.1052, allocations: 99.67 kB / 447 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1054, allocations: 242.9 kB / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.1058, allocations: 0.5255 MB / 447.8 MB, free: 272 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1058, allocations: 0 / 447.8 MB, free: 272 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1058, allocations: 0 / 447.8 MB, free: 272 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1058, allocations: 4 kB / 447.8 MB, free: 268 kB / 318.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.000938/0.1067, allocations: 0.7212 MB / 448.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1068, allocations: 11.89 kB / 448.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.518e-05/0.1069, allocations: 52.38 kB / 448.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1072, allocations: 291.5 kB / 448.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.1072, allocations: 41.31 kB / 448.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.1073, allocations: 52.28 kB / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.1079, allocations: 458.6 kB / 449.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.1079, allocations: 16.08 kB / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.108, allocations: 23.94 kB / 449.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.108, allocations: 12 kB / 449.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.1084, allocations: 256.9 kB / 449.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.1105, allocations: 1.687 MB / 451.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.111, allocations: 423.4 kB / 451.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.1112, allocations: 160.2 kB / 452 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1113, allocations: 4 kB / 452 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1113, allocations: 50.48 kB / 452 MB, free: 11.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.1113, allocations: 0 / 452 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007041/0.112, allocations: 352.9 kB / 452.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.1122, allocations: 277.4 kB / 452.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.1124, allocations: 250.8 kB / 452.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1124, allocations: 29.7 kB / 452.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.1126, allocations: 243.6 kB / 453.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.1127, allocations: 177.5 kB / 453.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.1128, allocations: 114.6 kB / 453.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1129, allocations: 350.7 kB / 453.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.1131, allocations: 122 kB / 453.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.1135, allocations: 421.6 kB / 454.3 MB, free: 9.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/0.1141, allocations: 0.5775 MB / 454.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.1141, allocations: 4 kB / 454.9 MB, free: 8.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000767/0.1149, allocations: 0.5713 MB / 455.5 MB, free: 7.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1149, allocations: 8 kB / 455.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.1149, allocations: 12 kB / 455.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.1149, allocations: 12 kB / 455.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.1155, allocations: 179.7 kB / 455.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.1155, allocations: 27.86 kB / 455.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.1158, allocations: 67.69 kB / 455.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.1158, allocations: 36 kB / 455.8 MB, free: 7.543 MB / 334.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.0001626/0.116, allocations: 189.5 kB / 456 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.1162, allocations: 35.62 kB / 456 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/0.1163, allocations: 41.7 kB / 456.1 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1163, allocations: 7.938 kB / 456.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1163, allocations: 4 kB / 456.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1163, allocations: 7.984 kB / 456.1 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.1173, allocations: 409.2 kB / 456.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1173, allocations: 4 kB / 456.5 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.1178, allocations: 131.8 kB / 456.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1179, allocations: 4 kB / 456.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.1179, allocations: 12 kB / 456.6 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1179, allocations: 7.938 kB / 456.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1179, allocations: 4 kB / 456.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/0.1187, allocations: 1.074 MB / 457.7 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.1188, allocations: 116.6 kB / 457.8 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.1188, allocations: 8 kB / 457.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.1192, allocations: 15.94 kB / 457.8 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.1193, allocations: 31.91 kB / 457.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1193, allocations: 15.98 kB / 457.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1194, allocations: 174 kB / 458.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1195, allocations: 0 / 458.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007821/0.1202, allocations: 135.7 kB / 458.2 MB, free: 5.039 MB / 334.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.0001501/0.1204, allocations: 107.2 kB / 458.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.1209, allocations: 358.5 kB / 458.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1209, allocations: 4.25 kB / 458.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1211, allocations: 128.5 kB / 458.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.1223, allocations: 107.2 kB / 458.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.1247, allocations: 1.972 MB / 460.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.1251, allocations: 0.8275 MB / 461.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1252, allocations: 48.16 kB / 461.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.1253, allocations: 31.44 kB / 461.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1253, allocations: 0 / 461.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of Templates: time 0.007433/0.1327, allocations: 4.085 MB / 465.8 MB, free: 13.34 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches