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.001157/0.001157, allocations: 98.62 kB / 17 MB, free: 6.09 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.001455/0.001455, allocations: 180.3 kB / 17.89 MB, free: 5.672 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.561/1.561, allocations: 223.2 MB / 241.9 MB, free: 212 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.2346/0.2346, allocations: 44.26 MB / 337.3 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003281, allocations: 8.562 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 61.94 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002421/0.1347, allocations: 1.499 MB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.1351, allocations: 155.5 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.1352, allocations: 7.938 kB / 473.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.399e-05/0.1353, allocations: 7.922 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.1354, allocations: 55.55 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.1356, allocations: 31.95 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1358, allocations: 171.1 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1359, allocations: 44.95 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.136, allocations: 63.77 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1362, allocations: 59.72 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.1362, allocations: 12 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/0.1362, allocations: 8 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.1363, allocations: 27.91 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.1363, allocations: 57.58 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1365, allocations: 135.9 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1365, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1365, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1365, allocations: 0 / 473.9 MB, free: 11.36 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.0005257/0.137, allocations: 423.2 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1371, allocations: 8.031 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.1372, allocations: 23.81 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1374, allocations: 202.9 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1374, allocations: 8.328 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.1374, allocations: 27.86 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.1377, allocations: 165.6 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1378, allocations: 4 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1378, allocations: 4 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1378, allocations: 4 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.138, allocations: 83.95 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008421/0.1388, allocations: 0.6228 MB / 475.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.139, allocations: 133.1 kB / 475.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.1391, allocations: 49.7 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1392, allocations: 0 / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1392, allocations: 38.69 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.1392, allocations: 4 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008022/0.14, allocations: 381.5 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1401, allocations: 81.2 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1402, allocations: 134 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1402, allocations: 29.7 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.1403, allocations: 128 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.1404, allocations: 59.19 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/0.1404, allocations: 4 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1405, allocations: 322.8 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.1406, allocations: 35.98 kB / 476.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1407, allocations: 100.6 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.1408, allocations: 55.94 kB / 477 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1408, allocations: 0 / 477 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003612/0.1412, allocations: 231 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1412, allocations: 8 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1412, allocations: 0 / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/0.1414, allocations: 49.69 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1416, allocations: 39.92 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.1437, allocations: 2.713 MB / 480 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.1438, allocations: 15.84 kB / 480 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1438, allocations: 8 kB / 480 MB, free: 4.613 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.000131/0.144, allocations: 141.8 kB / 480.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.144, allocations: 7.906 kB / 480.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.1441, allocations: 20.7 kB / 480.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1441, allocations: 4 kB / 480.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1441, allocations: 3.953 kB / 480.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1441, allocations: 0 / 480.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.1444, allocations: 233.5 kB / 480.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1444, allocations: 0 / 480.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1446, allocations: 27.92 kB / 480.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.1447, allocations: 61.7 kB / 480.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1448, allocations: 4 kB / 480.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.1467, allocations: 2.708 MB / 483.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1468, allocations: 8.156 kB / 483.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.1472, allocations: 374.9 kB / 483.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.1472, allocations: 89 kB / 483.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1473, allocations: 8.062 kB / 483.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1474, allocations: 0 / 483.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.1474, allocations: 19.94 kB / 483.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1474, allocations: 4 kB / 483.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.16e-05/0.1475, allocations: 99.25 kB / 483.8 MB, free: 460 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1475, allocations: 0 / 483.8 MB, free: 460 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004457/0.148, allocations: 59.84 kB / 483.9 MB, free: 400 kB / 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.000122/0.1481, allocations: 96.22 kB / 484 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005557/0.1487, allocations: 353.2 kB / 484.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1487, allocations: 0 / 484.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.149, allocations: 281.7 kB / 484.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.1495, allocations: 34.66 kB / 484.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1506, allocations: 0.7792 MB / 485.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1509, allocations: 0.7203 MB / 486.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.805e-05/0.151, allocations: 17.42 kB / 486.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.151, allocations: 11.44 kB / 486.2 MB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.151, allocations: 0 / 486.2 MB, free: 14 MB / 366.1 MB Notification: Performance of Templates: time 0.004883/0.1559, allocations: 1.764 MB / 487.9 MB, free: 12.24 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches