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.001284/0.001284, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2614/0.2614, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 80.02 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1378, allocations: 62.46 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003395/0.1413, allocations: 1.863 MB / 482 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004169/0.1417, allocations: 147.5 kB / 482.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.1418, allocations: 4 kB / 482.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.031e-05/0.1419, allocations: 23.73 kB / 482.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.142, allocations: 47.55 kB / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.1422, allocations: 43.94 kB / 482.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.1424, allocations: 187.1 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.1426, allocations: 57.5 kB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1427, allocations: 63.8 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1429, allocations: 67.7 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.1429, allocations: 16 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.218e-05/0.1429, allocations: 12 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.143, allocations: 43.83 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1431, allocations: 79.67 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1433, allocations: 187.6 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1433, allocations: 3.938 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1434, allocations: 0 / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1434, allocations: 4 kB / 482.9 MB, free: 2.363 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.0006236/0.144, allocations: 447.3 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1441, allocations: 8.031 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.1441, allocations: 24.73 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1444, allocations: 204.1 kB / 483.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1444, allocations: 16.7 kB / 483.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.1444, allocations: 20.28 kB / 483.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1448, allocations: 174.1 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1448, allocations: 4.125 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.1448, allocations: 11.94 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.1448, allocations: 4 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.145, allocations: 83.95 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.1459, allocations: 0.615 MB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.1461, allocations: 141.1 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.1462, allocations: 49.7 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.1463, allocations: 0 / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1463, allocations: 34.56 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.71e-07/0.1463, allocations: 0 / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008279/0.1471, allocations: 377.4 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1472, allocations: 85.05 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1473, allocations: 140.7 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1474, allocations: 25.7 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.1475, allocations: 128 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.1475, allocations: 51.2 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.1476, allocations: 45.7 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1478, allocations: 318.8 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.1478, allocations: 35.98 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.148, allocations: 104.9 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.1482, allocations: 164.3 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1482, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003948/0.1486, allocations: 227.2 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1486, allocations: 4 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1486, allocations: 4 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.1489, allocations: 53.72 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.149, allocations: 39.92 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.1516, allocations: 2.987 MB / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.151e-05/0.1517, allocations: 19.81 kB / 489.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1517, allocations: 12 kB / 489.5 MB, free: 11.11 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.0001293/0.1518, allocations: 133.7 kB / 489.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.1519, allocations: 11.97 kB / 489.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.1519, allocations: 20.66 kB / 489.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1519, allocations: 0 / 489.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1519, allocations: 4 kB / 489.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.152, allocations: 0 / 489.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.1523, allocations: 225.5 kB / 489.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1523, allocations: 0 / 489.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1524, allocations: 31.98 kB / 490 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/0.1526, allocations: 53.62 kB / 490 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1526, allocations: 11.88 kB / 490 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.155, allocations: 2.978 MB / 493 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.155, allocations: 4 kB / 493 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.1554, allocations: 382.9 kB / 493.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.1555, allocations: 85.02 kB / 493.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1555, allocations: 4 kB / 493.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1556, allocations: 8.094 kB / 493.5 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.1557, allocations: 11.92 kB / 493.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1557, allocations: 4 kB / 493.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.52e-05/0.1558, allocations: 111.2 kB / 493.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1558, allocations: 0 / 493.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.1562, allocations: 55.91 kB / 493.7 MB, free: 6.617 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.0001155/0.1563, allocations: 94.81 kB / 493.7 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.1569, allocations: 353.5 kB / 494.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.157, allocations: 0 / 494.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.1573, allocations: 293.2 kB / 494.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.1578, allocations: 27.92 kB / 494.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1589, allocations: 0.6399 MB / 495 MB, free: 5.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1593, allocations: 0.728 MB / 495.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.467e-05/0.1593, allocations: 13.42 kB / 495.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.1594, allocations: 11.44 kB / 495.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1594, allocations: 0 / 495.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of Templates: time 0.005272/0.1646, allocations: 1.921 MB / 497.7 MB, free: 2.453 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches