Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.11 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 77.12 kB / 419 MB, free: 19.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 62.45 MB / 481.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002909/0.1274, allocations: 1.671 MB / 483.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002609/0.1277, allocations: 111.6 kB / 483.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.1278, allocations: 0 / 483.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.697e-05/0.1278, allocations: 15.86 kB / 483.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.968e-05/0.1279, allocations: 39.69 kB / 483.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.1281, allocations: 27.91 kB / 483.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1282, allocations: 115.5 kB / 483.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1283, allocations: 41.09 kB / 483.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.1284, allocations: 47.8 kB / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.873e-05/0.1285, allocations: 51.78 kB / 483.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1285, allocations: 8 kB / 483.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.1286, allocations: 8 kB / 483.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.1286, allocations: 23.91 kB / 483.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.1287, allocations: 59.73 kB / 483.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1288, allocations: 119.6 kB / 483.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1288, allocations: 4 kB / 483.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1288, allocations: 0 / 483.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.1288, allocations: 3.984 kB / 483.8 MB, free: 2.227 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004527/0.1293, allocations: 403.4 kB / 484.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1293, allocations: 11.97 kB / 484.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1294, allocations: 12.75 kB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.1296, allocations: 192.3 kB / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1296, allocations: 8.609 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.1296, allocations: 20.28 kB / 484.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.1298, allocations: 125.5 kB / 484.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1298, allocations: 4.188 kB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1299, allocations: 7.938 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1299, allocations: 4 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.13, allocations: 63.89 kB / 484.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.1306, allocations: 0.5411 MB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1308, allocations: 89.14 kB / 485.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.1308, allocations: 25.72 kB / 485.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.1308, allocations: 7.875 kB / 485.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1309, allocations: 38.56 kB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1309, allocations: 4 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005613/0.1315, allocations: 297.5 kB / 485.6 MB, free: 156 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1315, allocations: 77.11 kB / 485.7 MB, free: 60 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1316, allocations: 125.8 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1317, allocations: 29.7 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.1317, allocations: 123.6 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.1318, allocations: 35.53 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.1318, allocations: 29.72 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1319, allocations: 322.8 kB / 486.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.132, allocations: 20 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.1321, allocations: 90.95 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1322, allocations: 116.5 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1322, allocations: 4 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002574/0.1325, allocations: 171.1 kB / 486.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1325, allocations: 8 kB / 486.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1325, allocations: 4 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.1327, allocations: 41.64 kB / 486.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.1328, allocations: 23.92 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.1347, allocations: 2.732 MB / 489.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.1348, allocations: 15.84 kB / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1348, allocations: 8.156 kB / 489.6 MB, free: 11.79 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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.1349, allocations: 129.4 kB / 489.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.135, allocations: 7.906 kB / 489.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.135, allocations: 11.84 kB / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.135, allocations: 7.938 kB / 489.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.135, allocations: 0 / 489.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.135, allocations: 0 / 489.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.1353, allocations: 213.5 kB / 489.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1353, allocations: 0 / 489.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.1354, allocations: 12 kB / 489.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-05/0.1355, allocations: 29.7 kB / 490 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1355, allocations: 11.94 kB / 490 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.1372, allocations: 2.741 MB / 492.7 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1372, allocations: 0 / 492.7 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1374, allocations: 312.4 kB / 493 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.1375, allocations: 77.11 kB / 493.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1375, allocations: 4 kB / 493.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.1376, allocations: 0 / 493.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.1376, allocations: 12.03 kB / 493.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1376, allocations: 3.938 kB / 493.1 MB, free: 7.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.1377, allocations: 99.64 kB / 493.2 MB, free: 7.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1377, allocations: 4 kB / 493.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000324/0.138, allocations: 39.84 kB / 493.3 MB, free: 7.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001096/0.1381, allocations: 91.25 kB / 493.4 MB, free: 7.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.1386, allocations: 309.6 kB / 493.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1386, allocations: 4 kB / 493.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.1388, allocations: 257.2 kB / 493.9 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.1393, allocations: 20.45 kB / 493.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006962/0.14, allocations: 491.4 kB / 494.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1403, allocations: 0.7045 MB / 495.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.667e-05/0.1403, allocations: 12.88 kB / 495.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.1403, allocations: 11.44 kB / 495.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1403, allocations: 0 / 495.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of Templates: time 0.003665/0.144, allocations: 1.504 MB / 496.6 MB, free: 4.223 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches