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.001389/0.001389, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 46.1 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 71.73 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.117, allocations: 62.45 MB / 479.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003243/0.1203, allocations: 1.72 MB / 481.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.1206, allocations: 107.6 kB / 481.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.191e-05/0.1207, allocations: 4 kB / 481.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.469e-05/0.1208, allocations: 11.92 kB / 481.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1209, allocations: 27.77 kB / 481.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.1211, allocations: 27.97 kB / 481.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1212, allocations: 123.4 kB / 482 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1214, allocations: 25.11 kB / 482 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/0.1214, allocations: 47.73 kB / 482 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.1215, allocations: 47.77 kB / 482.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1216, allocations: 12 kB / 482.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.1216, allocations: 4 kB / 482.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.1216, allocations: 19.92 kB / 482.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.1217, allocations: 55.75 kB / 482.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1218, allocations: 88.05 kB / 482.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1218, allocations: 0 / 482.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1218, allocations: 0 / 482.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1218, allocations: 0 / 482.2 MB, free: 3.43 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.0004952/0.1223, allocations: 407.4 kB / 482.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1224, allocations: 16.88 kB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.1224, allocations: 12.75 kB / 482.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1226, allocations: 200.2 kB / 482.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1226, allocations: 8.609 kB / 482.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.1227, allocations: 16.28 kB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.1229, allocations: 133.5 kB / 483 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1229, allocations: 192 / 483 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1229, allocations: 11.94 kB / 483 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.123, allocations: 3.984 kB / 483 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1231, allocations: 59.97 kB / 483.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.1238, allocations: 0.541 MB / 483.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1239, allocations: 85.22 kB / 483.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.124, allocations: 25.72 kB / 483.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.124, allocations: 7.969 kB / 483.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.124, allocations: 42.55 kB / 483.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.124, allocations: 0 / 483.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005654/0.1246, allocations: 301.4 kB / 484.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1247, allocations: 77.11 kB / 484.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1248, allocations: 121.8 kB / 484.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1248, allocations: 25.7 kB / 484.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.1249, allocations: 131.6 kB / 484.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1249, allocations: 31.55 kB / 484.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.125, allocations: 29.66 kB / 484.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1251, allocations: 326.8 kB / 484.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.1251, allocations: 27.92 kB / 484.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-05/0.1252, allocations: 88.58 kB / 484.9 MB, free: 424 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1254, allocations: 124.5 kB / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1254, allocations: 0 / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002614/0.1257, allocations: 159 kB / 485.2 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1257, allocations: 12.25 kB / 485.2 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1257, allocations: 4 kB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.1259, allocations: 41.64 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.126, allocations: 23.92 kB / 485.3 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.1277, allocations: 2.534 MB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.1278, allocations: 15.88 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1278, allocations: 8 kB / 487.8 MB, free: 13.19 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.0001032/0.1279, allocations: 129.5 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.128, allocations: 11.89 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.128, allocations: 8 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.128, allocations: 4 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.128, allocations: 4 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.128, allocations: 0 / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1283, allocations: 205.5 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1283, allocations: 4 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.1284, allocations: 16 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.1285, allocations: 37.64 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1285, allocations: 0 / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.1301, allocations: 2.54 MB / 490.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1302, allocations: 0 / 490.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.1305, allocations: 308.5 kB / 491.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.1305, allocations: 85.05 kB / 491.2 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1305, allocations: 11.94 kB / 491.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/0.1306, allocations: 0 / 491.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.1306, allocations: 7.938 kB / 491.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1307, allocations: 7.984 kB / 491.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.682e-05/0.1307, allocations: 95.66 kB / 491.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1307, allocations: 4 kB / 491.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.1311, allocations: 39.84 kB / 491.3 MB, free: 9.312 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 9.749e-05/0.1312, allocations: 99.17 kB / 491.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.1316, allocations: 301.6 kB / 491.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1316, allocations: 4.125 kB / 491.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.1319, allocations: 245.7 kB / 492 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.1323, allocations: 35.72 kB / 492 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.1331, allocations: 0.534 MB / 492.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1334, allocations: 0.7161 MB / 493.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.1334, allocations: 11.44 kB / 493.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1334, allocations: 0 / 493.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of Templates: time 0.004103/0.1375, allocations: 2.427 MB / 495.7 MB, free: 4.836 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 -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