Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.3 MB, free: 9.121 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 75.47 kB / 416.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1316, allocations: 62.45 MB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004641/0.1363, allocations: 2.906 MB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1377, allocations: 0.7867 MB / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1379, allocations: 11.94 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.1382, allocations: 47.62 kB / 483 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1384, allocations: 107.1 kB / 483.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.1387, allocations: 95.91 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.1391, allocations: 438.3 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.1394, allocations: 167 kB / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.1397, allocations: 159.4 kB / 484 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1399, allocations: 179.2 kB / 484.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.14, allocations: 28 kB / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.452e-05/0.1401, allocations: 31.98 kB / 484.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.1401, allocations: 71.64 kB / 484.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.1403, allocations: 206.9 kB / 484.5 MB, free: 484 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.1408, allocations: 422.7 kB / 484.9 MB, free: 60 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1408, allocations: 0 / 484.9 MB, free: 60 kB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1408, allocations: 0 / 484.9 MB, free: 60 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1408, allocations: 0 / 484.9 MB, free: 60 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001027/0.1418, allocations: 0.6784 MB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1419, allocations: 16.02 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.1422, allocations: 72.38 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.1425, allocations: 287.5 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.1426, allocations: 29.38 kB / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.593e-05/0.1427, allocations: 48.36 kB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.1433, allocations: 385.2 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1433, allocations: 11.89 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.1434, allocations: 16 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.1434, allocations: 8 kB / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.1439, allocations: 244.3 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.1454, allocations: 1.113 MB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.146, allocations: 347.5 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.1463, allocations: 170.5 kB / 488.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1463, allocations: 7.938 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1463, allocations: 42.56 kB / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.765e-06/0.1464, allocations: 0 / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003844/0.1502, allocations: 2.455 MB / 490.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1503, allocations: 110.8 kB / 490.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.1505, allocations: 242.7 kB / 491.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1506, allocations: 37.7 kB / 491.2 MB, free: 9.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1507, allocations: 188.6 kB / 491.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.1509, allocations: 197 kB / 491.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.151, allocations: 86.25 kB / 491.6 MB, free: 8.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1511, allocations: 350.7 kB / 492 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.1514, allocations: 125.1 kB / 492.1 MB, free: 8.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.1518, allocations: 235.8 kB / 492.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/0.1525, allocations: 398 kB / 492.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1525, allocations: 4 kB / 492.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009731/0.1535, allocations: 0.5537 MB / 493.3 MB, free: 7.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1535, allocations: 4 kB / 493.3 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1535, allocations: 4 kB / 493.3 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003594/0.1539, allocations: 126.5 kB / 493.4 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.1543, allocations: 99.91 kB / 493.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/0.1582, allocations: 4.685 MB / 498.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.1585, allocations: 24.16 kB / 498.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.1586, allocations: 19.98 kB / 498.2 MB, free: 1.695 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.1588, allocations: 169.7 kB / 498.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1589, allocations: 39.56 kB / 498.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.021e-05/0.159, allocations: 50.16 kB / 498.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.159, allocations: 8 kB / 498.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.159, allocations: 8 kB / 498.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1591, allocations: 3.984 kB / 498.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.1611, allocations: 1.327 MB / 499.8 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1611, allocations: 0 / 499.8 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.1615, allocations: 99.95 kB / 499.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/0.1618, allocations: 90.52 kB / 0.4883 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.1619, allocations: 12 kB / 0.4883 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003566/0.1654, allocations: 4.119 MB / 0.4923 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1655, allocations: 0 / 0.4923 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.1669, allocations: 0.9292 MB / 0.4932 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.1671, allocations: 108.6 kB / 0.4934 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.1672, allocations: 12.06 kB / 0.4934 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.1674, allocations: 23.98 kB / 0.4934 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.1676, allocations: 39.94 kB / 0.4934 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.1676, allocations: 16 kB / 0.4934 GB, free: 10.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.1678, allocations: 185.8 kB / 0.4936 GB, free: 9.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1678, allocations: 0 / 0.4936 GB, free: 9.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008015/0.1686, allocations: 120 kB / 0.4937 GB, free: 9.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.0001571/0.1688, allocations: 119.1 kB / 0.4938 GB, free: 9.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.17, allocations: 0.7658 MB / 0.4946 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.17, allocations: 0 / 0.4946 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007627/0.1708, allocations: 0.5805 MB / 0.4952 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.1714, allocations: 61.16 kB / 0.4952 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.1735, allocations: 1.267 MB / 0.4965 GB, free: 6.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.1739, allocations: 0.8202 MB / 0.4973 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.174, allocations: 31.28 kB / 0.4973 GB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.1741, allocations: 31.42 kB / 0.4973 GB, free: 5.98 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1741, allocations: 4 kB / 0.4973 GB, free: 5.977 MB / 382.1 MB Notification: Performance of Templates: time 0.008287/0.1824, allocations: 4.226 MB / 0.5014 GB, free: 1.762 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches