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.001368/0.001368, allocations: 115.7 kB / 17.05 MB, free: 6.035 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.001444/0.001444, allocations: 192.5 kB / 17.98 MB, free: 5.121 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.363/1.363, 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.2008/0.2008, allocations: 43.51 MB / 314.7 MB, free: 468 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.001501/0.001501, allocations: 71.89 kB / 442.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003921/0.1119, allocations: 3.065 MB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008341/0.1128, allocations: 422.4 kB / 0.4919 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.113, allocations: 11.94 kB / 0.4919 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1131, allocations: 67.31 kB / 0.4919 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.1134, allocations: 162.5 kB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1137, allocations: 103.9 kB / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.1142, allocations: 0.5325 MB / 0.4927 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.1144, allocations: 160.8 kB / 0.4929 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1146, allocations: 203.3 kB / 0.4931 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1149, allocations: 215 kB / 0.4933 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.115, allocations: 40 kB / 0.4933 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.015e-05/0.115, allocations: 40 kB / 0.4933 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.1151, allocations: 99.67 kB / 0.4934 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.1153, allocations: 246.9 kB / 0.4937 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.1158, allocations: 0.5177 MB / 0.4942 GB, free: 5.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1158, allocations: 0 / 0.4942 GB, free: 5.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1158, allocations: 0 / 0.4942 GB, free: 5.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1158, allocations: 0 / 0.4942 GB, free: 5.965 MB / 382.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.0009799/0.1168, allocations: 0.7251 MB / 0.4949 GB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1168, allocations: 11.89 kB / 0.4949 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.722e-05/0.117, allocations: 52.38 kB / 0.495 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1173, allocations: 295.4 kB / 0.4952 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.1173, allocations: 33.38 kB / 0.4953 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.1174, allocations: 60.27 kB / 0.4953 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006478/0.1181, allocations: 454.6 kB / 0.4958 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.1181, allocations: 16.08 kB / 0.4958 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.1182, allocations: 23.92 kB / 0.4958 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1182, allocations: 12 kB / 0.4958 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.1186, allocations: 274.8 kB / 0.4961 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.1207, allocations: 1.679 MB / 0.4977 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.1212, allocations: 419.4 kB / 0.4981 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1214, allocations: 159.6 kB / 0.4983 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1215, allocations: 8.531 kB / 0.4983 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.1215, allocations: 46.5 kB / 0.4983 GB, free: 1.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.154e-06/0.1215, allocations: 0 / 0.4983 GB, free: 1.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007133/0.1222, allocations: 360.9 kB / 0.4987 GB, free: 1.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.1224, allocations: 281.4 kB / 0.4989 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1226, allocations: 250.7 kB / 0.4992 GB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1227, allocations: 37.64 kB / 0.4992 GB, free: 424 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.1228, allocations: 235.7 kB / 0.4994 GB, free: 180 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.123, allocations: 177.5 kB / 0.4996 GB, free: 16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1231, allocations: 114.6 kB / 0.4997 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1232, allocations: 346.8 kB / 0.5 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1234, allocations: 129.9 kB / 0.5002 GB, free: 15.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.1238, allocations: 413.6 kB / 0.5006 GB, free: 14.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.1244, allocations: 0.5731 MB / 0.5011 GB, free: 14.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.1245, allocations: 4 kB / 0.5011 GB, free: 14.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000802/0.1253, allocations: 0.5672 MB / 0.5017 GB, free: 13.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1253, allocations: 8 kB / 0.5017 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.1253, allocations: 8 kB / 0.5017 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.1253, allocations: 19.98 kB / 0.5017 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.1259, allocations: 175.7 kB / 0.5019 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.1259, allocations: 24.45 kB / 0.5019 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.1262, allocations: 68 kB / 0.502 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.1263, allocations: 32 kB / 0.502 GB, free: 13.24 MB / 398.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.0002013/0.1265, allocations: 189.5 kB / 0.5022 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1267, allocations: 39.53 kB / 0.5022 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.524e-05/0.1268, allocations: 49.62 kB / 0.5023 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.1268, allocations: 7.938 kB / 0.5023 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.1268, allocations: 4 kB / 0.5023 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1268, allocations: 8 kB / 0.5023 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1278, allocations: 405.2 kB / 0.5027 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.1278, allocations: 8 kB / 0.5027 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.1284, allocations: 127.8 kB / 0.5028 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.1284, allocations: 4 kB / 0.5028 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.1284, allocations: 12 kB / 0.5028 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1284, allocations: 7.938 kB / 0.5028 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.1285, allocations: 7.984 kB / 0.5028 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/0.1293, allocations: 1.078 MB / 0.5039 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/0.1294, allocations: 116.6 kB / 0.504 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.1295, allocations: 8 kB / 0.504 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.1299, allocations: 19.94 kB / 0.504 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.1299, allocations: 31.89 kB / 0.504 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1299, allocations: 12 kB / 0.5041 GB, free: 11.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1301, allocations: 170 kB / 0.5042 GB, free: 10.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1301, allocations: 0 / 0.5042 GB, free: 10.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008367/0.131, allocations: 135.7 kB / 0.5043 GB, free: 10.73 MB / 398.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.0001828/0.1311, allocations: 111.2 kB / 0.5045 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005368/0.1317, allocations: 343.4 kB / 0.5048 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1317, allocations: 8.062 kB / 0.5048 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1319, allocations: 132.2 kB / 0.5049 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.133, allocations: 101 kB / 0.505 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.1356, allocations: 1.997 MB / 0.507 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.1361, allocations: 0.8275 MB / 0.5078 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.1362, allocations: 35.44 kB / 0.5078 GB, free: 7.094 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1362, allocations: 0 / 0.5078 GB, free: 7.094 MB / 398.1 MB Notification: Performance of Templates: time 0.007111/0.1433, allocations: 5.011 MB / 0.5127 GB, free: 2.086 MB / 398.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 -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