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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 100.2 kB / 16.64 MB, free: 6.82 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.001931/0.001931, allocations: 194.5 kB / 17.56 MB, free: 5.938 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.528/1.528, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.1967/0.1967, allocations: 43.51 MB / 314.3 MB, free: 0.7148 MB / 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.002349/0.002349, allocations: 69.5 kB / 382.9 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1254, allocations: 57.8 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002597/0.1281, allocations: 1.892 MB / 442.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.1284, allocations: 148 kB / 442.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.1284, allocations: 11.88 kB / 442.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.518e-05/0.1285, allocations: 11.91 kB / 442.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.1286, allocations: 47.61 kB / 442.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.1288, allocations: 35.97 kB / 442.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1289, allocations: 183.1 kB / 443 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1291, allocations: 61.52 kB / 443 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.1292, allocations: 63.78 kB / 443.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.1293, allocations: 71.7 kB / 443.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.1293, allocations: 19.94 kB / 443.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.656e-05/0.1293, allocations: 12 kB / 443.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.1293, allocations: 27.92 kB / 443.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.1294, allocations: 91.58 kB / 443.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1295, allocations: 139.9 kB / 443.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1296, allocations: 0 / 443.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1296, allocations: 4 kB / 443.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1296, allocations: 0 / 443.5 MB, free: 4.535 MB / 318.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.0004279/0.13, allocations: 455.2 kB / 443.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1301, allocations: 11.89 kB / 443.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1301, allocations: 16.75 kB / 443.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1302, allocations: 208.1 kB / 444.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1303, allocations: 16.7 kB / 444.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1303, allocations: 16.38 kB / 444.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.1305, allocations: 170.1 kB / 444.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1305, allocations: 8.094 kB / 444.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1306, allocations: 7.938 kB / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1306, allocations: 4 kB / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.1307, allocations: 87.95 kB / 444.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.1313, allocations: 0.6111 MB / 445.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1315, allocations: 149.1 kB / 445.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.1316, allocations: 53.7 kB / 445.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.1316, allocations: 4 kB / 445.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.1316, allocations: 34.56 kB / 445.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.1316, allocations: 0 / 445.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006585/0.1323, allocations: 381.4 kB / 445.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1323, allocations: 77.11 kB / 445.7 MB, free: 2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.1324, allocations: 130.1 kB / 445.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1324, allocations: 29.7 kB / 445.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.1325, allocations: 132 kB / 446 MB, free: 1.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.1325, allocations: 55.2 kB / 446.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1326, allocations: 41.7 kB / 446.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.1326, allocations: 322.8 kB / 446.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.224e-05/0.1327, allocations: 35.98 kB / 446.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.1328, allocations: 102.6 kB / 446.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1329, allocations: 164.7 kB / 446.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1329, allocations: 0 / 446.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002815/0.1332, allocations: 223.1 kB / 446.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1332, allocations: 5.25 kB / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1332, allocations: 4 kB / 447 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.1334, allocations: 45.7 kB / 447 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1336, allocations: 43.91 kB / 447 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.1359, allocations: 2.99 MB / 450 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.488e-05/0.136, allocations: 15.88 kB / 450.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1361, allocations: 8 kB / 450.1 MB, free: 13.28 MB / 334.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 (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.0001328/0.1362, allocations: 134.9 kB / 450.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.1363, allocations: 11.91 kB / 450.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.1363, allocations: 20.66 kB / 450.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1363, allocations: 8.062 kB / 450.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1363, allocations: 0 / 450.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1364, allocations: 4 kB / 450.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.1367, allocations: 229.5 kB / 450.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1367, allocations: 0 / 450.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1368, allocations: 35.97 kB / 450.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.137, allocations: 45.64 kB / 450.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.137, allocations: 15.86 kB / 450.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.1392, allocations: 2.974 MB / 453.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1393, allocations: 3.938 kB / 453.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.1397, allocations: 372.5 kB / 453.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.1397, allocations: 92.86 kB / 454 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.1397, allocations: 0 / 454 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1399, allocations: 12.12 kB / 454 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.1399, allocations: 11.98 kB / 454 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1399, allocations: 4 kB / 454 MB, free: 8.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.491e-05/0.14, allocations: 103.3 kB / 454.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.14, allocations: 3.938 kB / 454.1 MB, free: 8.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004413/0.1404, allocations: 63.84 kB / 454.2 MB, free: 8.777 MB / 334.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 (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.0001246/0.1406, allocations: 99.17 kB / 454.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005512/0.1411, allocations: 349.6 kB / 454.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1411, allocations: 4.125 kB / 454.6 MB, free: 8.297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.1415, allocations: 289.3 kB / 454.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.142, allocations: 31.27 kB / 454.9 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1431, allocations: 0.7269 MB / 455.7 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1435, allocations: 0.7242 MB / 456.4 MB, free: 6.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.1435, allocations: 11.44 kB / 456.4 MB, free: 6.438 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1435, allocations: 0 / 456.4 MB, free: 6.438 MB / 334.1 MB Notification: Performance of Templates: time 0.004898/0.1484, allocations: 3.11 MB / 459.5 MB, free: 3.328 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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