Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001701/0.001701, allocations: 119.2 kB / 19.13 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 210.6 kB / 22.08 MB, free: 0.9688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] 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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 77.44 kB / 490.9 MB, free: 27.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1238, allocations: 62.46 MB / 0.5404 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004112/0.128, allocations: 2.838 MB / 0.5431 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1293, allocations: 0.7712 MB / 0.5439 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1295, allocations: 11.94 kB / 0.5439 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.1297, allocations: 55.44 kB / 0.5439 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.13, allocations: 134.8 kB / 0.5441 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.1303, allocations: 99.81 kB / 0.5442 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.1308, allocations: 441.9 kB / 0.5446 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.1311, allocations: 145.6 kB / 0.5447 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.1313, allocations: 167.4 kB / 0.5449 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.1316, allocations: 183.2 kB / 0.5451 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.1317, allocations: 32 kB / 0.5451 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.346e-05/0.1317, allocations: 32 kB / 0.5451 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.1318, allocations: 83.64 kB / 0.5452 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.132, allocations: 207 kB / 0.5454 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004979/0.1325, allocations: 434.2 kB / 0.5458 GB, free: 14.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1325, allocations: 4 kB / 0.5458 GB, free: 14.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.1326, allocations: 0 / 0.5458 GB, free: 14.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1326, allocations: 3.938 kB / 0.5458 GB, free: 14.61 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009813/0.1336, allocations: 0.6653 MB / 0.5465 GB, free: 13.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1336, allocations: 12.03 kB / 0.5465 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.1339, allocations: 64.67 kB / 0.5465 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.1343, allocations: 271.8 kB / 0.5468 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.1343, allocations: 29.38 kB / 0.5468 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/0.1344, allocations: 48.31 kB / 0.5469 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.135, allocations: 394.5 kB / 0.5473 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.1351, allocations: 11.89 kB / 0.5473 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.1351, allocations: 16 kB / 0.5473 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1351, allocations: 8 kB / 0.5473 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.1356, allocations: 230.2 kB / 0.5475 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.1378, allocations: 1.715 MB / 0.5492 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.1383, allocations: 266.3 kB / 0.5494 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.1385, allocations: 94.06 kB / 0.5495 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1385, allocations: 4 kB / 0.5495 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.1386, allocations: 54.48 kB / 0.5496 GB, free: 10.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.1386, allocations: 0 / 0.5496 GB, free: 10.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006789/0.1393, allocations: 261.2 kB / 0.5498 GB, free: 10.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.1394, allocations: 214 kB / 0.55 GB, free: 9.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.1397, allocations: 283.2 kB / 0.5503 GB, free: 9.633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1397, allocations: 33.7 kB / 0.5503 GB, free: 9.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.1399, allocations: 244.1 kB / 0.5506 GB, free: 9.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.595e-05/0.14, allocations: 127 kB / 0.5507 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.1402, allocations: 98.3 kB / 0.5508 GB, free: 9.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1403, allocations: 346.7 kB / 0.5511 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1405, allocations: 97.27 kB / 0.5512 GB, free: 8.684 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.141, allocations: 428.8 kB / 0.5516 GB, free: 8.105 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/0.1417, allocations: 0.5624 MB / 0.5522 GB, free: 7.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1417, allocations: 4 kB / 0.5522 GB, free: 7.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008701/0.1426, allocations: 0.5333 MB / 0.5527 GB, free: 6.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.1426, allocations: 15.98 kB / 0.5527 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.1426, allocations: 8 kB / 0.5527 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.1427, allocations: 23.92 kB / 0.5527 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.1431, allocations: 147.8 kB / 0.5529 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/0.1431, allocations: 23.92 kB / 0.5529 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.1434, allocations: 67.5 kB / 0.553 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.1435, allocations: 32 kB / 0.553 GB, free: 6.527 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.1437, allocations: 185.6 kB / 0.5532 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.1438, allocations: 31.81 kB / 0.5532 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.566e-05/0.1439, allocations: 33.83 kB / 0.5532 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1439, allocations: 4 kB / 0.5532 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1439, allocations: 4 kB / 0.5532 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1439, allocations: 0 / 0.5532 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.1452, allocations: 0.6631 MB / 0.5539 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1452, allocations: 0.625 kB / 0.5539 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.1456, allocations: 87.89 kB / 0.554 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.1456, allocations: 4 kB / 0.554 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.1456, allocations: 8 kB / 0.554 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.1457, allocations: 15.92 kB / 0.554 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1457, allocations: 4 kB / 0.554 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/0.1465, allocations: 0.831 MB / 0.5548 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.1466, allocations: 112.9 kB / 0.5549 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.1466, allocations: 8 kB / 0.5549 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.1469, allocations: 11.92 kB / 0.5549 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.147, allocations: 23.92 kB / 0.555 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.147, allocations: 15.98 kB / 0.555 GB, free: 4.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.1472, allocations: 182 kB / 0.5552 GB, free: 4.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1472, allocations: 8 kB / 0.5552 GB, free: 4.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007056/0.1479, allocations: 95.89 kB / 0.5553 GB, free: 4.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.1481, allocations: 107.1 kB / 0.5554 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.1486, allocations: 294.3 kB / 0.5556 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1486, allocations: 0 / 0.5556 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.1488, allocations: 92.39 kB / 0.5557 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.1498, allocations: 80.83 kB / 0.5558 GB, free: 3.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.152, allocations: 1.585 MB / 0.5574 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.1525, allocations: 0.8103 MB / 0.5581 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.1526, allocations: 35.44 kB / 0.5582 GB, free: 1.004 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1526, allocations: 0 / 0.5582 GB, free: 1.004 MB / 414.1 MB Notification: Performance of Templates: time 0.007078/0.1596, allocations: 4.181 MB / 0.5623 GB, free: 12.83 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.043340243049897]