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.001094/0.001094, allocations: 95.09 kB / 18 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001536, allocations: 203 kB / 18.93 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.7 MB / 247.5 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002536, allocations: 11.97 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003014/0.1057, allocations: 2.525 MB / 486.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1072, allocations: 0.7751 MB / 487 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.1074, allocations: 11.94 kB / 487 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.1076, allocations: 43.56 kB / 487.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.108, allocations: 115.1 kB / 487.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1083, allocations: 95.89 kB / 487.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.1089, allocations: 434.4 kB / 487.7 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.1092, allocations: 159 kB / 487.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.1095, allocations: 151.3 kB / 488 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1097, allocations: 167.2 kB / 488.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.1098, allocations: 16 kB / 488.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.93e-05/0.1099, allocations: 24 kB / 488.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.11, allocations: 71.62 kB / 488.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.1102, allocations: 204.7 kB / 488.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.1105, allocations: 323.3 kB / 488.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1105, allocations: 4 kB / 488.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1105, allocations: 0 / 488.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.1106, allocations: 0 / 488.8 MB, free: 15.04 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.0009143/0.1115, allocations: 0.6278 MB / 489.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1115, allocations: 8.031 kB / 489.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.1119, allocations: 72.44 kB / 489.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.1122, allocations: 295.5 kB / 489.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.1123, allocations: 33.38 kB / 489.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/0.1123, allocations: 44.28 kB / 489.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.113, allocations: 393.3 kB / 490.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.1131, allocations: 4 kB / 490.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.1131, allocations: 16 kB / 490.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1131, allocations: 12 kB / 490.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.1136, allocations: 256.3 kB / 490.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.1153, allocations: 1.124 MB / 491.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.1159, allocations: 355.4 kB / 492 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.1162, allocations: 182.5 kB / 492.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1163, allocations: 4 kB / 492.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1163, allocations: 46.56 kB / 492.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.864e-06/0.1163, allocations: 0 / 492.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.004177/0.1205, allocations: 2.497 MB / 494.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.1206, allocations: 110.8 kB / 494.8 MB, free: 8.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.1208, allocations: 238.7 kB / 495.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.1209, allocations: 37.7 kB / 495.1 MB, free: 8.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.121, allocations: 188.6 kB / 495.3 MB, free: 8.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.1212, allocations: 201 kB / 495.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.1213, allocations: 45.69 kB / 495.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1214, allocations: 350.7 kB / 495.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.1217, allocations: 133.1 kB / 496 MB, free: 7.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.122, allocations: 239.8 kB / 496.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006678/0.1227, allocations: 418 kB / 496.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1227, allocations: 0 / 496.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001083/0.1238, allocations: 0.5654 MB / 497.2 MB, free: 6.004 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1239, allocations: 4 kB / 497.2 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.1239, allocations: 4 kB / 497.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/0.1243, allocations: 130.8 kB / 497.4 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.1247, allocations: 99.83 kB / 497.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/0.1288, allocations: 4.692 MB / 0.4904 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.129, allocations: 20 kB / 0.4904 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.1291, allocations: 16 kB / 0.4904 GB, free: 0.6406 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.0002134/0.1293, allocations: 180.8 kB / 0.4906 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1294, allocations: 39.56 kB / 0.4906 GB, free: 428 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.1295, allocations: 50.11 kB / 0.4907 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1295, allocations: 8 kB / 0.4907 GB, free: 368 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/0.1296, allocations: 4 kB / 0.4907 GB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1296, allocations: 0 / 0.4907 GB, free: 364 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.1316, allocations: 1.343 MB / 0.492 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.1317, allocations: 4.094 kB / 0.492 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.1321, allocations: 104.1 kB / 0.4921 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002589/0.1323, allocations: 90.52 kB / 0.4922 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.1324, allocations: 16 kB / 0.4922 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/0.1355, allocations: 4.119 MB / 0.4962 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1356, allocations: 4.031 kB / 0.4962 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.1369, allocations: 0.9349 MB / 0.4971 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.137, allocations: 116.7 kB / 0.4973 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.137, allocations: 8.125 kB / 0.4973 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.1373, allocations: 27.94 kB / 0.4973 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.1374, allocations: 43.94 kB / 0.4973 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.1375, allocations: 23.92 kB / 0.4973 GB, free: 8.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1376, allocations: 174 kB / 0.4975 GB, free: 8.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1376, allocations: 0 / 0.4975 GB, free: 8.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006943/0.1383, allocations: 120 kB / 0.4976 GB, free: 8.699 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.0001465/0.1385, allocations: 111.1 kB / 0.4977 GB, free: 8.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.1398, allocations: 0.7809 MB / 0.4985 GB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1398, allocations: 0 / 0.4985 GB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007596/0.1406, allocations: 0.588 MB / 0.4991 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.1413, allocations: 56.53 kB / 0.4991 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1432, allocations: 1.398 MB / 0.5005 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1436, allocations: 0.8163 MB / 0.5013 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1437, allocations: 35.42 kB / 0.5013 GB, free: 4.758 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1438, allocations: 0 / 0.5013 GB, free: 4.758 MB / 382.1 MB Notification: Performance of Templates: time 0.2036/0.3474, allocations: 9.349 MB / 0.5105 GB, free: 38.62 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