Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001659/0.001659, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 119.1 kB / 269.9 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.364/0.364, allocations: 43.5 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009484/0.0009484, allocations: 55.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1318, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00301/0.1348, allocations: 1.906 MB / 488.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002345/0.1351, allocations: 147.5 kB / 489.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.1351, allocations: 7.938 kB / 489.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.1352, allocations: 11.91 kB / 489.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.284e-05/0.1353, allocations: 51.61 kB / 489.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.163e-05/0.1354, allocations: 31.98 kB / 489.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1355, allocations: 183.1 kB / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1357, allocations: 49.83 kB / 489.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.1357, allocations: 59.8 kB / 489.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1359, allocations: 71.62 kB / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.1359, allocations: 15.94 kB / 489.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.698e-05/0.1359, allocations: 8 kB / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.136, allocations: 27.92 kB / 489.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.136, allocations: 79.61 kB / 489.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1362, allocations: 175.6 kB / 489.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1363, allocations: 0 / 489.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1363, allocations: 3.938 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.836e-06/0.1363, allocations: 0 / 489.8 MB, free: 9.719 MB / 378.7 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.0005503/0.1368, allocations: 455.2 kB / 490.3 MB, free: 9.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1369, allocations: 12.03 kB / 490.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.1369, allocations: 20.75 kB / 490.3 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1371, allocations: 204.1 kB / 490.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1371, allocations: 8.703 kB / 490.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.1372, allocations: 20.38 kB / 490.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.1374, allocations: 174.1 kB / 490.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1375, allocations: 4.094 kB / 490.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1375, allocations: 15.88 kB / 490.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1375, allocations: 4 kB / 490.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1377, allocations: 83.94 kB / 490.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.1384, allocations: 0.6266 MB / 491.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1386, allocations: 133.1 kB / 491.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.1387, allocations: 53.7 kB / 491.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.1387, allocations: 0 / 491.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.1387, allocations: 38.69 kB / 491.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.1387, allocations: 0 / 491.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007535/0.1395, allocations: 381.2 kB / 492 MB, free: 7.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1395, allocations: 81.11 kB / 492.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1397, allocations: 133.9 kB / 492.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1397, allocations: 29.7 kB / 492.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.1398, allocations: 124.1 kB / 492.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.1398, allocations: 63.09 kB / 492.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.1399, allocations: 33.72 kB / 492.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.14, allocations: 326.8 kB / 492.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.14, allocations: 35.98 kB / 492.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1402, allocations: 108.4 kB / 492.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.1404, allocations: 152.8 kB / 493.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1404, allocations: 0 / 493.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003454/0.1407, allocations: 227 kB / 493.3 MB, free: 5.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1407, allocations: 11.94 kB / 493.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1408, allocations: 0 / 493.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.141, allocations: 53.62 kB / 493.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1411, allocations: 31.98 kB / 493.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.143, allocations: 2.732 MB / 496.1 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.1431, allocations: 15.84 kB / 496.1 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1431, allocations: 8 kB / 496.2 MB, free: 2.734 MB / 378.7 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1432, allocations: 141.9 kB / 496.3 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.1433, allocations: 15.81 kB / 496.3 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.1433, allocations: 12.72 kB / 496.3 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1433, allocations: 4 kB / 496.3 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1433, allocations: 0 / 496.3 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1433, allocations: 0 / 496.3 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.1436, allocations: 237.5 kB / 496.6 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1436, allocations: 0 / 496.6 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.1438, allocations: 23.98 kB / 496.6 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.1439, allocations: 53.64 kB / 496.6 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1439, allocations: 7.984 kB / 496.6 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.1457, allocations: 2.716 MB / 499.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1457, allocations: 7.969 kB / 499.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.1496, allocations: 4.605 MB / 0.4922 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1496, allocations: 89.08 kB / 0.4922 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1497, allocations: 4.125 kB / 0.4922 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1498, allocations: 8.062 kB / 0.4923 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.1498, allocations: 11.97 kB / 0.4923 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.1498, allocations: 8 kB / 0.4923 GB, free: 10.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.197e-05/0.1499, allocations: 95.27 kB / 0.4924 GB, free: 9.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1499, allocations: 0 / 0.4924 GB, free: 9.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005741/0.1505, allocations: 79.78 kB / 0.4924 GB, free: 9.848 MB / 394.7 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.1506, allocations: 107.2 kB / 0.4925 GB, free: 9.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.1511, allocations: 349.2 kB / 0.4929 GB, free: 9.367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1511, allocations: 0.5 kB / 0.4929 GB, free: 9.367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.1514, allocations: 293.3 kB / 0.4932 GB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1519, allocations: 31.92 kB / 0.4932 GB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1531, allocations: 1.1 MB / 0.4943 GB, free: 7.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1534, allocations: 0.7284 MB / 0.495 GB, free: 7.102 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.375e-05/0.1535, allocations: 17.42 kB / 0.495 GB, free: 7.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.1535, allocations: 11.44 kB / 0.495 GB, free: 7.074 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1535, allocations: 3.938 kB / 0.495 GB, free: 7.07 MB / 394.7 MB Notification: Performance of Templates: time 0.004638/0.1582, allocations: 2.414 MB / 0.4974 GB, free: 4.664 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches