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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001606, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001688/0.001688, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.474/1.474, allocations: 227.4 MB / 251.7 MB, free: 32 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.2587/0.2587, allocations: 46.17 MB / 351.1 MB, free: 14.24 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 77 kB / 490.2 MB, free: 28.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1278, allocations: 62.44 MB / 0.5397 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003127/0.1309, allocations: 1.673 MB / 0.5413 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002959/0.1313, allocations: 103.7 kB / 0.5414 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.1313, allocations: 11.88 kB / 0.5414 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.471e-05/0.1314, allocations: 15.86 kB / 0.5414 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1315, allocations: 39.69 kB / 0.5415 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.1317, allocations: 23.98 kB / 0.5415 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1318, allocations: 123.4 kB / 0.5416 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.132, allocations: 49.08 kB / 0.5416 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.1321, allocations: 43.8 kB / 0.5417 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1322, allocations: 51.78 kB / 0.5417 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.1322, allocations: 8 kB / 0.5417 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.1322, allocations: 8 kB / 0.5418 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.1323, allocations: 27.84 kB / 0.5418 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.1324, allocations: 55.75 kB / 0.5418 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1325, allocations: 127.5 kB / 0.542 GB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1325, allocations: 0 / 0.542 GB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1326, allocations: 4 kB / 0.542 GB, free: 1.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1326, allocations: 4 kB / 0.542 GB, free: 1.98 MB / 398.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.0005392/0.1331, allocations: 410.2 kB / 0.5424 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1332, allocations: 8.031 kB / 0.5424 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1332, allocations: 12.89 kB / 0.5424 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1335, allocations: 192.2 kB / 0.5426 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1335, allocations: 8.609 kB / 0.5426 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-05/0.1336, allocations: 16.36 kB / 0.5426 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.1338, allocations: 129.5 kB / 0.5427 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1339, allocations: 8.141 kB / 0.5427 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1339, allocations: 7.938 kB / 0.5427 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1339, allocations: 4 kB / 0.5427 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.134, allocations: 59.95 kB / 0.5428 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/0.1349, allocations: 0.5373 MB / 0.5433 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.135, allocations: 81.14 kB / 0.5434 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.1351, allocations: 33.81 kB / 0.5434 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.1351, allocations: 3.938 kB / 0.5434 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1351, allocations: 46.5 kB / 0.5435 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1351, allocations: 0 / 0.5435 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006325/0.1358, allocations: 297.6 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.1359, allocations: 77.11 kB / 0.5438 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.136, allocations: 121.8 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.136, allocations: 33.7 kB / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1361, allocations: 119.9 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1362, allocations: 35.69 kB / 0.5441 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.1362, allocations: 33.7 kB / 0.5441 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1364, allocations: 318.6 kB / 0.5445 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.1364, allocations: 27.92 kB / 0.5445 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.1365, allocations: 84.58 kB / 0.5446 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.1367, allocations: 124.5 kB / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1367, allocations: 0 / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002929/0.137, allocations: 171.2 kB / 0.5448 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.137, allocations: 8 kB / 0.5448 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.137, allocations: 3.938 kB / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.1372, allocations: 37.7 kB / 0.5449 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.1373, allocations: 19.94 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.1401, allocations: 2.747 MB / 0.5476 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.1402, allocations: 11.89 kB / 0.5476 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1402, allocations: 4 kB / 0.5476 GB, free: 11.54 MB / 414.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.000139/0.1404, allocations: 133.1 kB / 0.5477 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.1404, allocations: 7.938 kB / 0.5477 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.1405, allocations: 11.89 kB / 0.5478 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1405, allocations: 4 kB / 0.5478 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1405, allocations: 0 / 0.5478 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1405, allocations: 0 / 0.5478 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.1408, allocations: 205.6 kB / 0.5479 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1408, allocations: 0 / 0.5479 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.78e-05/0.1409, allocations: 19.94 kB / 0.548 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.1411, allocations: 41.64 kB / 0.548 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1411, allocations: 4 kB / 0.548 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.1436, allocations: 2.738 MB / 0.5507 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1436, allocations: 0 / 0.5507 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.144, allocations: 312.5 kB / 0.551 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.1441, allocations: 85 kB / 0.5511 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1441, allocations: 4 kB / 0.5511 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.1442, allocations: 0 / 0.5511 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1443, allocations: 12.03 kB / 0.5511 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1443, allocations: 4 kB / 0.5511 GB, free: 7.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.1444, allocations: 91.27 kB / 0.5512 GB, free: 7.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1444, allocations: 0 / 0.5512 GB, free: 7.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.1448, allocations: 39.95 kB / 0.5512 GB, free: 7.461 MB / 414.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 0.0001459/0.1449, allocations: 95.19 kB / 0.5513 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005415/0.1455, allocations: 309.5 kB / 0.5516 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1455, allocations: 0.5 kB / 0.5516 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.1458, allocations: 265.2 kB / 0.5518 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.1463, allocations: 29.67 kB / 0.5519 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008863/0.1472, allocations: 477 kB / 0.5523 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.1478, allocations: 0.7123 MB / 0.553 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.021e-05/0.1478, allocations: 4.891 kB / 0.553 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.1479, allocations: 11.44 kB / 0.553 GB, free: 5.473 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1479, allocations: 4 kB / 0.553 GB, free: 5.469 MB / 414.1 MB Notification: Performance of Templates: time 0.004944/0.1528, allocations: 1.516 MB / 0.5545 GB, free: 3.961 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 4.908879297785461]