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.001212/0.001212, allocations: 97.45 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 198.3 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1466, allocations: 63.46 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002123/0.1488, allocations: 1.465 MB / 482.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.1491, allocations: 155.6 kB / 483 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.1492, allocations: 4 kB / 483 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.1492, allocations: 19.8 kB / 483 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1493, allocations: 55.86 kB / 483.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.1495, allocations: 27.97 kB / 483.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1497, allocations: 131.7 kB / 483.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1498, allocations: 41.81 kB / 483.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.1499, allocations: 59.83 kB / 483.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.15, allocations: 59.72 kB / 483.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1501, allocations: 12 kB / 483.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.402e-05/0.1501, allocations: 8 kB / 483.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.1501, allocations: 31.89 kB / 483.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.1502, allocations: 57.58 kB / 483.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1503, allocations: 127.9 kB / 483.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1504, allocations: 0 / 483.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1504, allocations: 0 / 483.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1504, allocations: 0 / 483.6 MB, free: 3.16 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.0005376/0.1509, allocations: 427.2 kB / 484 MB, free: 2.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.151, allocations: 8.031 kB / 484 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.151, allocations: 19.8 kB / 484.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1512, allocations: 202.8 kB / 484.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1513, allocations: 16.33 kB / 484.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.1513, allocations: 23.91 kB / 484.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.1516, allocations: 165.6 kB / 484.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1516, allocations: 0 / 484.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.1517, allocations: 12 kB / 484.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1517, allocations: 4 kB / 484.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.1519, allocations: 87.95 kB / 484.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/0.1527, allocations: 0.6111 MB / 485.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1529, allocations: 129.1 kB / 485.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1529, allocations: 0 / 485.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.153, allocations: 46.69 kB / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.153, allocations: 0 / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007814/0.1538, allocations: 381.5 kB / 485.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.1538, allocations: 81.2 kB / 485.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1539, allocations: 140.5 kB / 485.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.154, allocations: 25.7 kB / 486 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.154, allocations: 136 kB / 486.1 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.1541, allocations: 55.19 kB / 486.2 MB, free: 360 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.1541, allocations: 4 kB / 486.2 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1542, allocations: 322.8 kB / 486.5 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.1543, allocations: 40.06 kB / 486.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1544, allocations: 100.6 kB / 486.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.1545, allocations: 51.94 kB / 486.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1546, allocations: 0 / 486.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000358/0.1549, allocations: 235 kB / 486.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1549, allocations: 4 kB / 486.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.155, allocations: 4 kB / 486.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.1552, allocations: 45.7 kB / 486.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1553, allocations: 35.92 kB / 487 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.1574, allocations: 2.725 MB / 489.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.1575, allocations: 19.88 kB / 489.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1575, allocations: 4 kB / 489.7 MB, free: 12.45 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 (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.0001278/0.1576, allocations: 134 kB / 489.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.1577, allocations: 19.86 kB / 489.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.1577, allocations: 16.7 kB / 489.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1578, allocations: 4 kB / 489.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1578, allocations: 3.938 kB / 489.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1578, allocations: 4 kB / 489.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.1581, allocations: 229.4 kB / 490.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1581, allocations: 0 / 490.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.1582, allocations: 27.98 kB / 490.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.1584, allocations: 53.64 kB / 490.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1584, allocations: 4 kB / 490.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.1604, allocations: 2.732 MB / 492.9 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1604, allocations: 3.938 kB / 492.9 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.1609, allocations: 380.5 kB / 493.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.161, allocations: 84.97 kB / 493.4 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.161, allocations: 12.12 kB / 493.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1612, allocations: 4.125 kB / 493.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1612, allocations: 23.91 kB / 493.4 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.1612, allocations: 0 / 493.4 MB, free: 8.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.1613, allocations: 103.2 kB / 493.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1613, allocations: 0 / 493.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005385/0.1619, allocations: 55.84 kB / 493.6 MB, free: 8.203 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 (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.0001731/0.162, allocations: 100.3 kB / 493.7 MB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006039/0.1626, allocations: 341.4 kB / 494 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1627, allocations: 0 / 494 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.163, allocations: 293.7 kB / 494.3 MB, free: 7.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.1634, allocations: 19.98 kB / 494.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1646, allocations: 0.7757 MB / 495.1 MB, free: 6.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.1651, allocations: 0.7319 MB / 495.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.1651, allocations: 13.42 kB / 495.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.1652, allocations: 15.44 kB / 495.9 MB, free: 5.812 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1652, allocations: 4.312 kB / 495.9 MB, free: 5.809 MB / 366.1 MB Notification: Performance of Templates: time 0.004738/0.1699, allocations: 1.766 MB / 497.6 MB, free: 4.055 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches