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.001187/0.001187, allocations: 110.7 kB / 18.41 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 200.6 kB / 19.35 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 73.28 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.135, allocations: 62.44 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003078/0.1382, allocations: 1.866 MB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003462/0.1385, allocations: 159.4 kB / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.1386, allocations: 0 / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.96e-05/0.1387, allocations: 19.8 kB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.1388, allocations: 51.48 kB / 483.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.139, allocations: 47.94 kB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1392, allocations: 183.1 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.1394, allocations: 61.5 kB / 483.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.1395, allocations: 63.78 kB / 483.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1396, allocations: 71.64 kB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.1396, allocations: 16 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.513e-05/0.1397, allocations: 12 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.1397, allocations: 35.91 kB / 484 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1399, allocations: 83.61 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1401, allocations: 179.4 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1401, allocations: 4 kB / 484.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1401, allocations: 0 / 484.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1401, allocations: 0 / 484.3 MB, free: 1.688 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.0005621/0.1407, allocations: 451.2 kB / 484.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1407, allocations: 12.03 kB / 484.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.1408, allocations: 16.75 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.141, allocations: 208.1 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.141, allocations: 20.69 kB / 485 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.141, allocations: 20.28 kB / 485 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.1413, allocations: 166.2 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1413, allocations: 192 / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.1414, allocations: 11.94 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1414, allocations: 4 kB / 485.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1415, allocations: 95.88 kB / 485.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.1423, allocations: 0.6072 MB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1425, allocations: 137.1 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.344e-05/0.1426, allocations: 49.7 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1426, allocations: 8 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1426, allocations: 34.56 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1426, allocations: 0 / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.000739/0.1434, allocations: 377.4 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.1434, allocations: 81.09 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1436, allocations: 132 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1436, allocations: 29.7 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.1437, allocations: 124 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.1437, allocations: 55.2 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1438, allocations: 49.64 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1439, allocations: 322.8 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.1439, allocations: 35.98 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-05/0.1441, allocations: 104.6 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1442, allocations: 164.4 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1442, allocations: 0 / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003443/0.1446, allocations: 227.3 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1446, allocations: 4 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1446, allocations: 4.297 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.1448, allocations: 57.67 kB / 487.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.145, allocations: 39.92 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.147, allocations: 2.98 MB / 490.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.1471, allocations: 23.81 kB / 490.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1471, allocations: 4 kB / 490.9 MB, free: 10.44 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.0001137/0.1473, allocations: 145.3 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.1473, allocations: 11.91 kB / 491 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.1474, allocations: 16.66 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1474, allocations: 7.984 kB / 491.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1474, allocations: 4 kB / 491.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1474, allocations: 4 kB / 491.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1476, allocations: 225.5 kB / 491.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1477, allocations: 0 / 491.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1478, allocations: 31.98 kB / 491.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.1479, allocations: 49.69 kB / 491.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.148, allocations: 3.938 kB / 491.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.15, allocations: 2.986 MB / 494.4 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.15, allocations: 0 / 494.4 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.1504, allocations: 374.6 kB / 494.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.1505, allocations: 85.02 kB / 494.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1505, allocations: 3.984 kB / 494.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1506, allocations: 15.94 kB / 494.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.1506, allocations: 7.984 kB / 494.8 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1506, allocations: 8.125 kB / 494.8 MB, free: 6.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.811e-05/0.1507, allocations: 103.2 kB / 494.9 MB, free: 6 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1507, allocations: 0 / 494.9 MB, free: 6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000429/0.1512, allocations: 55.91 kB / 495 MB, free: 5.945 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.0001172/0.1513, allocations: 95.25 kB / 495.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005084/0.1518, allocations: 353.4 kB / 495.4 MB, free: 5.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1518, allocations: 0.5 kB / 495.4 MB, free: 5.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.1521, allocations: 285.2 kB / 495.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.1526, allocations: 34.22 kB / 495.7 MB, free: 5.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009509/0.1536, allocations: 0.6434 MB / 496.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1539, allocations: 0.728 MB / 497.1 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.631e-05/0.1539, allocations: 13.44 kB / 497.1 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.1539, allocations: 11.44 kB / 497.1 MB, free: 3.684 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.154, allocations: 0 / 497.1 MB, free: 3.684 MB / 366.1 MB Notification: Performance of Templates: time 0.00453/0.1585, allocations: 1.915 MB / 499.1 MB, free: 1.781 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 -s cvode -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