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.0008141/0.0008141, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.0008154/0.0008154, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.372/1.372, allocations: 223.3 MB / 242.3 MB, free: 220 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.1904/0.1904, allocations: 44.25 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 10.12 kB / 410.3 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1169, allocations: 61.92 MB / 472.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00222/0.1191, allocations: 1.549 MB / 473.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00036/0.1195, allocations: 155.4 kB / 473.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.1196, allocations: 4 kB / 474 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.623e-05/0.1197, allocations: 19.8 kB / 474 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.1198, allocations: 43.67 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.12, allocations: 31.97 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.1202, allocations: 183.1 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.1204, allocations: 52.39 kB / 474.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1205, allocations: 63.72 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1207, allocations: 63.7 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1207, allocations: 8 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.65e-05/0.1207, allocations: 8 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.1208, allocations: 23.92 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.1209, allocations: 105.3 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1211, allocations: 175.5 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1211, allocations: 0 / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1211, allocations: 4 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1211, allocations: 0 / 474.7 MB, free: 10.9 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.0005802/0.1217, allocations: 427.4 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1218, allocations: 8.031 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.1218, allocations: 16.75 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.122, allocations: 204.1 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1221, allocations: 12.7 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.1221, allocations: 20.38 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.1224, allocations: 166.2 kB / 475.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1225, allocations: 8.094 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.1225, allocations: 7.938 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.1225, allocations: 4 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.1227, allocations: 91.88 kB / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008259/0.1235, allocations: 0.6151 MB / 476.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1237, allocations: 133.1 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.943e-05/0.1238, allocations: 53.88 kB / 476.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1238, allocations: 7.938 kB / 476.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1239, allocations: 30.56 kB / 476.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.1239, allocations: 0 / 476.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007857/0.1247, allocations: 389.5 kB / 476.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.1247, allocations: 85.09 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1248, allocations: 126.1 kB / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1249, allocations: 29.7 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.1249, allocations: 128 kB / 477.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.125, allocations: 55.11 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.125, allocations: 33.64 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1252, allocations: 318.8 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/0.1252, allocations: 35.98 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1254, allocations: 108.5 kB / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.1256, allocations: 156.5 kB / 477.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1256, allocations: 0 / 477.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003485/0.1259, allocations: 223 kB / 478.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.126, allocations: 8 kB / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.126, allocations: 0 / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.1262, allocations: 49.69 kB / 478.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1263, allocations: 43.92 kB / 478.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.1283, allocations: 2.72 MB / 481 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.1284, allocations: 15.84 kB / 481 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.1284, allocations: 12 kB / 481 MB, free: 3.977 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 (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.0001375/0.1286, allocations: 137.8 kB / 481.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.1286, allocations: 15.8 kB / 481.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.1287, allocations: 16.72 kB / 481.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1287, allocations: 0 / 481.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1287, allocations: 4 kB / 481.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1287, allocations: 192 / 481.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.129, allocations: 233.5 kB / 481.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.129, allocations: 7.938 kB / 481.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1292, allocations: 27.92 kB / 481.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.1293, allocations: 45.7 kB / 481.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1293, allocations: 8 kB / 481.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.1311, allocations: 2.72 MB / 484.2 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1312, allocations: 4.031 kB / 484.2 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1315, allocations: 370.5 kB / 484.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.1316, allocations: 85.02 kB / 484.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1316, allocations: 8.156 kB / 484.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1317, allocations: 7.938 kB / 484.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.1318, allocations: 15.97 kB / 484.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1318, allocations: 4 kB / 484.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.962e-05/0.1319, allocations: 102.2 kB / 484.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.452e-06/0.1319, allocations: 0 / 484.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.1323, allocations: 59.84 kB / 484.8 MB, free: 15.76 MB / 366.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.0001326/0.1324, allocations: 107.6 kB / 484.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1329, allocations: 353.2 kB / 485.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.133, allocations: 0 / 485.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.1332, allocations: 289.7 kB / 485.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.1337, allocations: 27.98 kB / 485.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1348, allocations: 0.7995 MB / 486.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1351, allocations: 0.7242 MB / 487.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.022e-05/0.1352, allocations: 17.36 kB / 487.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.1352, allocations: 15.44 kB / 487.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1352, allocations: 3.938 kB / 487.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Templates: time 0.004563/0.1398, allocations: 1.818 MB / 489 MB, free: 11.51 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