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.00115/0.00115, allocations: 110 kB / 17.03 MB, free: 6.102 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.001041/0.001042, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.414/1.414, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.2337/0.2337, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 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.001461/0.001461, allocations: 78.67 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1226, allocations: 57.79 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002932/0.1256, allocations: 1.839 MB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002969/0.1259, allocations: 155.4 kB / 444 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.126, allocations: 4 kB / 444 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.922e-05/0.126, allocations: 19.78 kB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.1262, allocations: 55.48 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.1264, allocations: 31.97 kB / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1265, allocations: 183.2 kB / 444.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.1268, allocations: 61.52 kB / 444.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.717e-05/0.1269, allocations: 71.66 kB / 444.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.127, allocations: 75.64 kB / 444.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.127, allocations: 16 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.002e-05/0.1271, allocations: 12 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.1271, allocations: 31.92 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.1272, allocations: 87.58 kB / 444.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1274, allocations: 179.4 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1274, allocations: 0 / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1274, allocations: 4 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1274, allocations: 0 / 444.8 MB, free: 3.301 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.0005712/0.128, allocations: 455.2 kB / 445.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1281, allocations: 15.89 kB / 445.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.1281, allocations: 16.75 kB / 445.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.1283, allocations: 216 kB / 445.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1283, allocations: 12.7 kB / 445.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.1284, allocations: 16.38 kB / 445.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.1286, allocations: 170.2 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1287, allocations: 8.094 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.1287, allocations: 11.94 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1287, allocations: 4 kB / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1289, allocations: 87.89 kB / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.1296, allocations: 0.6072 MB / 446.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1298, allocations: 129.2 kB / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.1299, allocations: 53.69 kB / 446.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1299, allocations: 4 kB / 446.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.13, allocations: 38.56 kB / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.13, allocations: 0 / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007538/0.1307, allocations: 377.4 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1308, allocations: 81.11 kB / 447 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.1309, allocations: 134.1 kB / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1309, allocations: 25.7 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.1309, allocations: 136 kB / 447.3 MB, free: 472 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.131, allocations: 51.2 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.131, allocations: 41.66 kB / 447.4 MB, free: 372 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.1311, allocations: 318.8 kB / 447.7 MB, free: 44 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.1312, allocations: 47.97 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1313, allocations: 102.5 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.1316, allocations: 152.5 kB / 448 MB, free: 15.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1316, allocations: 0 / 448 MB, free: 15.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004092/0.132, allocations: 230.9 kB / 448.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.132, allocations: 4 kB / 448.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.132, allocations: 4 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.1323, allocations: 54.17 kB / 448.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1325, allocations: 35.92 kB / 448.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.1351, allocations: 2.99 MB / 451.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.1352, allocations: 19.78 kB / 451.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1352, allocations: 8.141 kB / 451.4 MB, free: 12.05 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.0001466/0.1353, allocations: 130.9 kB / 451.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.1354, allocations: 19.88 kB / 451.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.1354, allocations: 24.75 kB / 451.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1355, allocations: 0 / 451.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.1355, allocations: 4 kB / 451.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1355, allocations: 0 / 451.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.1358, allocations: 233.5 kB / 451.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1358, allocations: 0 / 451.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1359, allocations: 27.98 kB / 451.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.1361, allocations: 41.7 kB / 451.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1361, allocations: 11.94 kB / 451.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.1382, allocations: 2.982 MB / 454.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1382, allocations: 3.938 kB / 454.8 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.1386, allocations: 369.6 kB / 455.2 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.1386, allocations: 92.86 kB / 455.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1387, allocations: 8.125 kB / 455.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1388, allocations: 12.06 kB / 455.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1388, allocations: 11.92 kB / 455.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.1388, allocations: 8 kB / 455.3 MB, free: 7.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.684e-05/0.1389, allocations: 95.27 kB / 455.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1389, allocations: 0 / 455.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.1393, allocations: 59.84 kB / 455.5 MB, free: 7.555 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.0001138/0.1394, allocations: 99.23 kB / 455.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000534/0.14, allocations: 349.2 kB / 455.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.14, allocations: 0 / 455.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.1403, allocations: 289.8 kB / 456.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.1409, allocations: 35.81 kB / 456.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.142, allocations: 0.6316 MB / 456.9 MB, free: 6.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1423, allocations: 0.732 MB / 457.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.035e-05/0.1423, allocations: 17.36 kB / 457.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.1424, allocations: 11.44 kB / 457.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1424, allocations: 0 / 457.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of Templates: time 0.004896/0.1473, allocations: 1.907 MB / 459.5 MB, free: 3.395 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches