Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.11 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 80.31 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1353, allocations: 62.46 MB / 480.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003334/0.1387, allocations: 1.861 MB / 482.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003387/0.139, allocations: 147.4 kB / 482.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.1391, allocations: 4 kB / 482.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.118e-05/0.1392, allocations: 19.8 kB / 482.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1394, allocations: 59.48 kB / 482.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.1395, allocations: 39.94 kB / 482.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1397, allocations: 183.1 kB / 483.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.1399, allocations: 61.5 kB / 483.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.14, allocations: 63.73 kB / 483.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1401, allocations: 71.7 kB / 483.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.1401, allocations: 16 kB / 483.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.162e-05/0.1402, allocations: 12 kB / 483.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.1402, allocations: 47.83 kB / 483.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.52e-05/0.1403, allocations: 79.61 kB / 483.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.1405, allocations: 179.7 kB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1405, allocations: 0 / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1406, allocations: 0 / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1406, allocations: 4 kB / 483.6 MB, free: 2.395 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.0006022/0.1412, allocations: 451.3 kB / 484 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1412, allocations: 12.02 kB / 484 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.1413, allocations: 24.75 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1415, allocations: 204.1 kB / 484.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1415, allocations: 8.703 kB / 484.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.1416, allocations: 24.28 kB / 484.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1419, allocations: 170.1 kB / 484.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1419, allocations: 192 / 484.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.1419, allocations: 15.88 kB / 484.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.1419, allocations: 4 kB / 484.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.1421, allocations: 83.95 kB / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/0.1431, allocations: 0.6188 MB / 485.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.1433, allocations: 133.1 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/0.1434, allocations: 53.7 kB / 485.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1434, allocations: 0 / 485.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1434, allocations: 30.56 kB / 485.4 MB, free: 404 kB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1434, allocations: 0 / 485.4 MB, free: 404 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008487/0.1443, allocations: 381.4 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.1444, allocations: 89.05 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1445, allocations: 130.4 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1446, allocations: 29.7 kB / 486 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.1447, allocations: 128 kB / 486.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.1447, allocations: 51.2 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.1448, allocations: 45.64 kB / 486.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1449, allocations: 322.8 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.145, allocations: 35.98 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1451, allocations: 104.6 kB / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.1454, allocations: 164.4 kB / 486.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1454, allocations: 0 / 486.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004297/0.1458, allocations: 226.9 kB / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1458, allocations: 8 kB / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1458, allocations: 0 / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/0.1461, allocations: 49.91 kB / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1462, allocations: 39.92 kB / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.1489, allocations: 2.987 MB / 490.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.149, allocations: 15.84 kB / 490.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.149, allocations: 12 kB / 490.2 MB, free: 11.15 MB / 366.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.0001419/0.1492, allocations: 133.8 kB / 490.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.1492, allocations: 7.906 kB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.1493, allocations: 20.66 kB / 490.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1493, allocations: 0 / 490.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.1493, allocations: 4 kB / 490.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1493, allocations: 3.984 kB / 490.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.1497, allocations: 225.5 kB / 490.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1497, allocations: 4 kB / 490.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.1498, allocations: 27.92 kB / 490.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.15, allocations: 49.73 kB / 490.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.15, allocations: 15.92 kB / 490.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.1524, allocations: 2.982 MB / 493.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1525, allocations: 3.938 kB / 493.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.1529, allocations: 382.8 kB / 494 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.153, allocations: 89 kB / 494.1 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.153, allocations: 8.062 kB / 494.1 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1531, allocations: 3.938 kB / 494.1 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.1532, allocations: 15.98 kB / 494.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1532, allocations: 7.984 kB / 494.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.946e-05/0.1533, allocations: 105.9 kB / 494.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1533, allocations: 0 / 494.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000431/0.1537, allocations: 51.91 kB / 494.3 MB, free: 6.652 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.0001298/0.1538, allocations: 95.25 kB / 494.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.1545, allocations: 353.4 kB / 494.7 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1545, allocations: 0 / 494.7 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.1548, allocations: 289.2 kB / 495 MB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.1553, allocations: 28.23 kB / 495 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.1565, allocations: 0.6726 MB / 495.7 MB, free: 5.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1569, allocations: 0.728 MB / 496.4 MB, free: 4.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.1569, allocations: 15.44 kB / 496.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1569, allocations: 0 / 496.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of Templates: time 0.005516/0.1624, allocations: 3.127 MB / 499.6 MB, free: 1.242 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches