Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.0009132, allocations: 96.16 kB / 16.99 MB, free: 5.941 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.0009058/0.0009057, allocations: 183 kB / 17.87 MB, free: 5.609 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.4/1.4, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2695/0.2695, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003043, allocations: 11.98 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 61.92 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002088/0.126, allocations: 1.444 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005134/0.1266, allocations: 159.5 kB / 473.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1268, allocations: 4 kB / 473.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.075e-05/0.1268, allocations: 19.84 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1271, allocations: 51.88 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.1272, allocations: 23.97 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.1275, allocations: 127.8 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.1277, allocations: 49.69 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1278, allocations: 55.8 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.128, allocations: 71.69 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.128, allocations: 8 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.579e-05/0.1281, allocations: 8 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.1281, allocations: 27.86 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.1282, allocations: 53.64 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.1284, allocations: 135.9 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1284, allocations: 4 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.1284, allocations: 0 / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1284, allocations: 3.938 kB / 473.7 MB, free: 11.5 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006432/0.1291, allocations: 415.2 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1291, allocations: 8.031 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/0.1292, allocations: 15.81 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1295, allocations: 206.8 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.1296, allocations: 16.33 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.1296, allocations: 27.86 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.13, allocations: 161.6 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.13, allocations: 3.938 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.13, allocations: 8 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.046e-06/0.13, allocations: 4 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.1302, allocations: 91.94 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009256/0.1311, allocations: 0.615 MB / 475.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1314, allocations: 133.2 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1314, allocations: 3.984 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1314, allocations: 34.56 kB / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.1314, allocations: 0 / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000792/0.1322, allocations: 381.4 kB / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1323, allocations: 81.11 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1324, allocations: 126 kB / 476 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1324, allocations: 37.64 kB / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.1325, allocations: 128.1 kB / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1326, allocations: 55.19 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-06/0.1326, allocations: 4 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1328, allocations: 322.8 kB / 476.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.1329, allocations: 35.98 kB / 476.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.133, allocations: 100.6 kB / 476.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.093e-05/0.1331, allocations: 56.25 kB / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1331, allocations: 0 / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003861/0.1335, allocations: 230.8 kB / 476.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1335, allocations: 4 kB / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1335, allocations: 4.234 kB / 476.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.1337, allocations: 57.92 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.134, allocations: 35.92 kB / 477 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.1361, allocations: 2.732 MB / 479.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.132e-05/0.1362, allocations: 15.91 kB / 479.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1362, allocations: 12 kB / 479.8 MB, free: 4.801 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.1364, allocations: 134 kB / 479.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.1365, allocations: 11.91 kB / 479.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.1365, allocations: 16.7 kB / 479.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1365, allocations: 4 kB / 480 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1365, allocations: 3.953 kB / 480 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1365, allocations: 7.984 kB / 480 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.1368, allocations: 229.5 kB / 480.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1369, allocations: 0 / 480.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.137, allocations: 27.92 kB / 480.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.1371, allocations: 49.69 kB / 480.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.1372, allocations: 4 kB / 480.3 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.1391, allocations: 2.728 MB / 483 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1391, allocations: 4 kB / 483 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.1395, allocations: 386.1 kB / 483.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.1396, allocations: 85.02 kB / 483.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1396, allocations: 4 kB / 483.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1397, allocations: 4.062 kB / 483.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.1397, allocations: 11.94 kB / 483.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.1397, allocations: 4 kB / 483.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.56e-05/0.1398, allocations: 107.2 kB / 483.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1398, allocations: 0 / 483.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004312/0.1403, allocations: 55.84 kB / 483.6 MB, free: 0.5664 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001072/0.1404, allocations: 100.2 kB / 483.7 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.1409, allocations: 357.7 kB / 484.1 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1409, allocations: 0 / 484.1 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.1412, allocations: 289.2 kB / 484.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1416, allocations: 26.52 kB / 484.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1427, allocations: 0.776 MB / 485.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.143, allocations: 0.732 MB / 485.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.622e-05/0.1431, allocations: 9.422 kB / 485.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.1431, allocations: 15.44 kB / 485.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1431, allocations: 0 / 485.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.004675/0.1478, allocations: 1.761 MB / 487.7 MB, free: 12.41 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches