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.001662/0.001662, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.002119/0.002119, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.322/1.322, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.214/0.214, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 61.31 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1224, allocations: 60.82 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004448/0.1269, allocations: 3.056 MB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009998/0.1279, allocations: 410.5 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003205/0.1283, allocations: 11.94 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1285, allocations: 75.23 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.1289, allocations: 166.6 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1292, allocations: 99.81 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.1298, allocations: 0.5365 MB / 473.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.1301, allocations: 164.7 kB / 473.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.1304, allocations: 199.3 kB / 473.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.1306, allocations: 215.1 kB / 474.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.142e-05/0.1307, allocations: 43.94 kB / 474.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.371e-05/0.1308, allocations: 40 kB / 474.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.1309, allocations: 95.69 kB / 474.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.1311, allocations: 242.9 kB / 474.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005215/0.1317, allocations: 0.518 MB / 475.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1317, allocations: 0 / 475.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1317, allocations: 0 / 475.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.1317, allocations: 0 / 475.1 MB, free: 8.531 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.001025/0.1327, allocations: 0.7135 MB / 475.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1328, allocations: 8.031 kB / 475.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.261e-05/0.1329, allocations: 60.36 kB / 475.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1332, allocations: 287.6 kB / 476.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.1332, allocations: 41.31 kB / 476.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/0.1333, allocations: 52.28 kB / 476.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.134, allocations: 458.7 kB / 476.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/0.1341, allocations: 12.09 kB / 476.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.1341, allocations: 23.88 kB / 476.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.1341, allocations: 12 kB / 476.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.1346, allocations: 267.6 kB / 477 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.137, allocations: 1.699 MB / 478.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.1376, allocations: 411.4 kB / 479.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.1378, allocations: 159.6 kB / 479.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1379, allocations: 8 kB / 479.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1379, allocations: 46.48 kB / 479.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.873e-06/0.1379, allocations: 0 / 479.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007293/0.1386, allocations: 365.7 kB / 479.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.1388, allocations: 272.9 kB / 479.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.139, allocations: 246.6 kB / 480.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1391, allocations: 33.7 kB / 480.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1392, allocations: 243.6 kB / 480.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.1393, allocations: 177.9 kB / 480.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.1395, allocations: 122.5 kB / 480.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1397, allocations: 350.8 kB / 481.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.1399, allocations: 121.9 kB / 481.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.1402, allocations: 417.4 kB / 481.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/0.1409, allocations: 0.5728 MB / 482.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.1409, allocations: 8 kB / 482.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007955/0.1417, allocations: 0.5715 MB / 482.7 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1417, allocations: 8 kB / 482.8 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.1417, allocations: 12.91 kB / 482.8 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.1418, allocations: 12 kB / 482.8 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.1423, allocations: 183.7 kB / 483 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.1423, allocations: 19.94 kB / 483 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.1426, allocations: 63.38 kB / 483 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.1426, allocations: 32 kB / 483.1 MB, free: 15.82 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.0001874/0.1428, allocations: 189.5 kB / 483.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.143, allocations: 35.62 kB / 483.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/0.1431, allocations: 41.7 kB / 483.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1431, allocations: 11.94 kB / 483.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.1431, allocations: 7.938 kB / 483.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.1432, allocations: 7.984 kB / 483.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009961/0.1442, allocations: 413.2 kB / 483.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1442, allocations: 0 / 483.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.1447, allocations: 127.8 kB / 483.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1447, allocations: 4 kB / 483.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.1447, allocations: 15.98 kB / 483.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.1448, allocations: 7.938 kB / 483.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1448, allocations: 4 kB / 483.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/0.1457, allocations: 1.072 MB / 485 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.1458, allocations: 120.6 kB / 485.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.1459, allocations: 8.125 kB / 485.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.1463, allocations: 19.94 kB / 485.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1463, allocations: 35.89 kB / 485.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1464, allocations: 8 kB / 485.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.1465, allocations: 174 kB / 485.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1465, allocations: 0 / 485.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007784/0.1473, allocations: 135.8 kB / 485.5 MB, free: 13.31 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.0001999/0.1475, allocations: 111.8 kB / 485.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005214/0.1481, allocations: 368.6 kB / 485.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.1481, allocations: 0 / 485.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.1482, allocations: 131.8 kB / 486.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.1494, allocations: 109.5 kB / 486.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.1521, allocations: 1.957 MB / 488.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.1526, allocations: 0.8391 MB / 489 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.1527, allocations: 48.16 kB / 489 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.1528, allocations: 31.44 kB / 489.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1528, allocations: 0 / 489.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of Templates: time 0.007674/0.1605, allocations: 4.08 MB / 493.1 MB, free: 5.602 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/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