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.001228/0.001228, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 88.23 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 62.43 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003911/0.1172, allocations: 2.853 MB / 483.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1186, allocations: 0.8023 MB / 484.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1188, allocations: 11.94 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.119, allocations: 63.31 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1192, allocations: 126.9 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1196, allocations: 119.8 kB / 484.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.12, allocations: 450.3 kB / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.1203, allocations: 186.1 kB / 485.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.1205, allocations: 175.4 kB / 485.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1207, allocations: 187.1 kB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.1208, allocations: 36 kB / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.1209, allocations: 36 kB / 485.7 MB, free: 256 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.121, allocations: 95.67 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.1211, allocations: 203 kB / 486 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.1216, allocations: 450.6 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1216, allocations: 0 / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1216, allocations: 4 kB / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1216, allocations: 0 / 486.4 MB, free: 15.51 MB / 366.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.0009422/0.1226, allocations: 0.6706 MB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1226, allocations: 12.03 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.123, allocations: 72.42 kB / 487.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1233, allocations: 295.4 kB / 487.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.1233, allocations: 29.38 kB / 487.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.1234, allocations: 40.38 kB / 487.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.124, allocations: 385.3 kB / 487.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.124, allocations: 7.906 kB / 487.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.1241, allocations: 16 kB / 488 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1241, allocations: 8 kB / 488 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.1246, allocations: 251.8 kB / 488.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.1261, allocations: 1.105 MB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.1267, allocations: 351.4 kB / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.1269, allocations: 174.5 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.127, allocations: 4 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.127, allocations: 46.48 kB / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.225e-06/0.127, allocations: 0 / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003879/0.1309, allocations: 2.447 MB / 492.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.131, allocations: 106.8 kB / 492.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.1313, allocations: 250.7 kB / 492.7 MB, free: 8.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.1313, allocations: 37.64 kB / 492.7 MB, free: 8.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1314, allocations: 188.6 kB / 492.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.1316, allocations: 197 kB / 493.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1317, allocations: 82.25 kB / 493.2 MB, free: 8.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1319, allocations: 350.7 kB / 493.5 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.1321, allocations: 129.1 kB / 493.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.1324, allocations: 231.8 kB / 493.9 MB, free: 7.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.1331, allocations: 401.9 kB / 494.2 MB, free: 7.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1331, allocations: 4 kB / 494.3 MB, free: 7.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001077/0.1342, allocations: 0.5576 MB / 494.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1342, allocations: 7.938 kB / 494.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1342, allocations: 4 kB / 494.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.1346, allocations: 122.6 kB / 494.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.135, allocations: 99.88 kB / 495 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/0.1391, allocations: 5.222 MB / 0.4885 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.1394, allocations: 16 kB / 0.4886 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.1395, allocations: 23.92 kB / 0.4886 GB, free: 0.6094 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.0002238/0.1397, allocations: 164.8 kB / 0.4887 GB, free: 452 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.1398, allocations: 43.69 kB / 0.4888 GB, free: 408 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.194e-05/0.1399, allocations: 46.17 kB / 0.4888 GB, free: 364 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1399, allocations: 4 kB / 0.4888 GB, free: 360 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.14, allocations: 7.938 kB / 0.4888 GB, free: 352 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.14, allocations: 3.984 kB / 0.4888 GB, free: 348 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.142, allocations: 1.333 MB / 0.4901 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.142, allocations: 4 kB / 0.4901 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.1425, allocations: 95.81 kB / 0.4902 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/0.1427, allocations: 98.61 kB / 0.4903 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.1428, allocations: 16.12 kB / 0.4903 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/0.1461, allocations: 4.434 MB / 0.4947 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1461, allocations: 0 / 0.4947 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.1474, allocations: 0.9193 MB / 0.4956 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.1476, allocations: 116.7 kB / 0.4957 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.1476, allocations: 16.31 kB / 0.4957 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.1479, allocations: 15.98 kB / 0.4957 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.148, allocations: 47.88 kB / 0.4958 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.1481, allocations: 19.98 kB / 0.4958 GB, free: 8.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1482, allocations: 178 kB / 0.4959 GB, free: 8.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1482, allocations: 3.938 kB / 0.4959 GB, free: 8.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007338/0.149, allocations: 120 kB / 0.4961 GB, free: 8.371 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.000156/0.1492, allocations: 111.1 kB / 0.4962 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.1507, allocations: 0.7885 MB / 0.4969 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.1507, allocations: 0 / 0.4969 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007793/0.1515, allocations: 0.5804 MB / 0.4975 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.1523, allocations: 56.03 kB / 0.4976 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.1543, allocations: 1.125 MB / 0.4987 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.1548, allocations: 0.8241 MB / 0.4995 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.1549, allocations: 39.42 kB / 0.4995 GB, free: 4.691 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1549, allocations: 0 / 0.4995 GB, free: 4.691 MB / 382.1 MB Notification: Performance of Templates: time 0.2309/0.3859, allocations: 9.409 MB / 0.5087 GB, free: 40 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches