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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.001556/0.001556, allocations: 210.6 kB / 21.41 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.519/1.519, allocations: 227.4 MB / 251.6 MB, free: 88 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.231/0.231, allocations: 46.17 MB / 351.1 MB, free: 14.28 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 81.25 kB / 490.2 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1333, allocations: 62.45 MB / 0.5397 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004364/0.1377, allocations: 2.861 MB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1393, allocations: 0.8023 MB / 0.5433 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.1395, allocations: 11.94 kB / 0.5433 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.1397, allocations: 59.33 kB / 0.5433 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.14, allocations: 126.9 kB / 0.5434 GB, free: 368 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.1404, allocations: 115.8 kB / 0.5436 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005272/0.141, allocations: 450.4 kB / 0.544 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.1413, allocations: 194 kB / 0.5442 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.1416, allocations: 171.4 kB / 0.5443 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.1419, allocations: 187.1 kB / 0.5445 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.142, allocations: 36 kB / 0.5445 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1421, allocations: 47.98 kB / 0.5446 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.943e-05/0.1422, allocations: 87.69 kB / 0.5447 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.1424, allocations: 206.9 kB / 0.5449 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.143, allocations: 465.9 kB / 0.5453 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.143, allocations: 0 / 0.5453 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.143, allocations: 0 / 0.5453 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1431, allocations: 0 / 0.5453 GB, free: 14.43 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001082/0.1441, allocations: 0.6781 MB / 0.546 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1442, allocations: 12.03 kB / 0.546 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.1446, allocations: 72.62 kB / 0.5461 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.145, allocations: 307.4 kB / 0.5464 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.1451, allocations: 29.38 kB / 0.5464 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.1451, allocations: 40.36 kB / 0.5464 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.1458, allocations: 381.4 kB / 0.5468 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.1458, allocations: 3.953 kB / 0.5468 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.1459, allocations: 16 kB / 0.5468 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.1459, allocations: 12 kB / 0.5468 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.1465, allocations: 251.8 kB / 0.5471 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.1482, allocations: 1.105 MB / 0.5481 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.1488, allocations: 351.4 kB / 0.5485 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.1491, allocations: 174.5 kB / 0.5486 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1492, allocations: 8 kB / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.1492, allocations: 42.5 kB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.154e-06/0.1492, allocations: 0 / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004151/0.1534, allocations: 2.457 MB / 0.5511 GB, free: 8.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.1535, allocations: 118.8 kB / 0.5512 GB, free: 7.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1538, allocations: 246.7 kB / 0.5514 GB, free: 7.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1538, allocations: 29.7 kB / 0.5515 GB, free: 7.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.154, allocations: 184.9 kB / 0.5516 GB, free: 7.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.1542, allocations: 214.1 kB / 0.5518 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.1543, allocations: 86.25 kB / 0.5519 GB, free: 7.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1545, allocations: 350.7 kB / 0.5523 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.1547, allocations: 133 kB / 0.5524 GB, free: 6.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.1551, allocations: 227.8 kB / 0.5526 GB, free: 6.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.1557, allocations: 402 kB / 0.553 GB, free: 5.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1557, allocations: 0 / 0.553 GB, free: 5.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001036/0.1568, allocations: 0.5579 MB / 0.5535 GB, free: 5.395 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1568, allocations: 11.94 kB / 0.5535 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1568, allocations: 0 / 0.5535 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.1572, allocations: 130.5 kB / 0.5537 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.1576, allocations: 95.88 kB / 0.5538 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006205/0.1638, allocations: 5.222 MB / 0.5589 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.1644, allocations: 16 kB / 0.5589 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.1644, allocations: 23.98 kB / 0.5589 GB, free: 15.47 MB / 430.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.0003807/0.1648, allocations: 172.8 kB / 0.5591 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.165, allocations: 35.77 kB / 0.5591 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.1651, allocations: 46.17 kB / 0.5591 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1651, allocations: 8 kB / 0.5591 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.088e-05/0.1651, allocations: 7.938 kB / 0.5592 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.1652, allocations: 3.984 kB / 0.5592 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.1675, allocations: 1.325 MB / 0.5604 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.1675, allocations: 4 kB / 0.5605 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.1679, allocations: 95.88 kB / 0.5605 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.1682, allocations: 98.39 kB / 0.5606 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.1682, allocations: 11.94 kB / 0.5606 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004443/0.1727, allocations: 4.435 MB / 0.565 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1727, allocations: 7.969 kB / 0.565 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.1743, allocations: 0.935 MB / 0.5659 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.1744, allocations: 108.9 kB / 0.566 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.1744, allocations: 12.25 kB / 0.566 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.1747, allocations: 20.11 kB / 0.566 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.1748, allocations: 55.86 kB / 0.5661 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.1749, allocations: 12 kB / 0.5661 GB, free: 7.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.175, allocations: 178 kB / 0.5663 GB, free: 7.352 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1751, allocations: 0 / 0.5663 GB, free: 7.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007484/0.1758, allocations: 124 kB / 0.5664 GB, free: 7.23 MB / 430.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.0001946/0.176, allocations: 111.1 kB / 0.5665 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.1776, allocations: 0.7734 MB / 0.5672 GB, free: 6.301 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1776, allocations: 0 / 0.5672 GB, free: 6.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009226/0.1785, allocations: 0.5718 MB / 0.5678 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006829/0.1792, allocations: 60.88 kB / 0.5679 GB, free: 5.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.1814, allocations: 1.087 MB / 0.5689 GB, free: 4.508 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.182, allocations: 0.828 MB / 0.5697 GB, free: 3.652 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.1822, allocations: 39.2 kB / 0.5698 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.1823, allocations: 35.42 kB / 0.5698 GB, free: 3.578 MB / 430.1 MB Notification: Performance of SimCode: time 1.173e-06/0.1823, allocations: 0 / 0.5698 GB, free: 3.578 MB / 430.1 MB Notification: Performance of Templates: time 0.01061/0.1929, allocations: 4.567 MB / 0.5743 GB, free: 15.03 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.178037906065583]