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.001167/0.001167, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 246.9 MB, free: 8.887 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 79.67 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1128, allocations: 62.46 MB / 479.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003487/0.1164, allocations: 1.912 MB / 481.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004023/0.1168, allocations: 147.4 kB / 482 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1169, allocations: 7.938 kB / 482 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.464e-05/0.1171, allocations: 19.84 kB / 482 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.1172, allocations: 43.62 kB / 482.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.1174, allocations: 35.89 kB / 482.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1176, allocations: 171.2 kB / 482.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.1178, allocations: 57.83 kB / 482.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1179, allocations: 59.73 kB / 482.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.118, allocations: 71.69 kB / 482.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.118, allocations: 8 kB / 482.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.191e-05/0.1181, allocations: 12 kB / 482.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.1181, allocations: 31.84 kB / 482.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.614e-05/0.1182, allocations: 79.61 kB / 482.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1184, allocations: 135.9 kB / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1184, allocations: 0 / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1184, allocations: 0 / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1184, allocations: 0 / 482.7 MB, free: 2.875 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.0006221/0.119, allocations: 459.3 kB / 483.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1191, allocations: 8.875 kB / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.1191, allocations: 16.75 kB / 483.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.1194, allocations: 204.1 kB / 483.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1194, allocations: 12.7 kB / 483.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.1194, allocations: 20.28 kB / 483.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.1197, allocations: 166.2 kB / 483.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.1198, allocations: 4.188 kB / 483.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.1198, allocations: 11.94 kB / 483.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1198, allocations: 4 kB / 483.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.12, allocations: 91.88 kB / 483.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/0.1209, allocations: 0.6189 MB / 484.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1211, allocations: 129.2 kB / 484.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.1212, allocations: 49.83 kB / 484.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1212, allocations: 8 kB / 484.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1212, allocations: 34.56 kB / 484.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/0.1212, allocations: 0 / 484.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000794/0.122, allocations: 385.2 kB / 484.9 MB, free: 456 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1221, allocations: 81.05 kB / 485 MB, free: 356 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1222, allocations: 136.4 kB / 485.1 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1222, allocations: 25.7 kB / 485.1 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.1223, allocations: 128.1 kB / 485.3 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.1224, allocations: 59.19 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.1225, allocations: 37.72 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1226, allocations: 322.8 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/0.1227, allocations: 35.98 kB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1228, allocations: 104.5 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.123, allocations: 156.5 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.123, allocations: 4 kB / 486 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003635/0.1233, allocations: 226.8 kB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1234, allocations: 4 kB / 486.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1234, allocations: 8.25 kB / 486.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.1236, allocations: 49.69 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1237, allocations: 35.92 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.1258, allocations: 2.713 MB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/0.1259, allocations: 15.88 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.126, allocations: 12 kB / 489 MB, free: 11.92 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.0001412/0.1261, allocations: 145.2 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.1262, allocations: 12.38 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.1262, allocations: 16.72 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1262, allocations: 4.094 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1262, allocations: 0 / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1262, allocations: 4 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.1266, allocations: 237.4 kB / 489.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1266, allocations: 3.938 kB / 489.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1267, allocations: 31.98 kB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.1269, allocations: 41.7 kB / 489.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1269, allocations: 3.984 kB / 489.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.1289, allocations: 2.727 MB / 492.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1289, allocations: 0 / 492.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.1294, allocations: 368.5 kB / 492.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1294, allocations: 85.14 kB / 492.7 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1295, allocations: 16.05 kB / 492.7 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1296, allocations: 7.875 kB / 492.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.1296, allocations: 11.98 kB / 492.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1296, allocations: 4 kB / 492.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.798e-05/0.1297, allocations: 110 kB / 492.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.555e-06/0.1297, allocations: 0 / 492.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.1302, allocations: 55.84 kB / 492.9 MB, free: 7.688 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.0001236/0.1303, allocations: 95.25 kB / 493 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.1309, allocations: 349.6 kB / 493.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1309, allocations: 0 / 493.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.1313, allocations: 289.4 kB / 493.6 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.1318, allocations: 28.06 kB / 493.6 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.133, allocations: 0.7273 MB / 494.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1333, allocations: 0.7242 MB / 495.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.1334, allocations: 19.38 kB / 495.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1334, allocations: 0 / 495.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of Templates: time 0.005297/0.1387, allocations: 3.117 MB / 498.2 MB, free: 2.238 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