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.001674/0.001674, allocations: 111.8 kB / 19.13 MB, free: 3.922 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.00198/0.00198, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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.472/1.472, allocations: 227.4 MB / 252.3 MB, free: 108 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.2368/0.2368, allocations: 46.17 MB / 351.8 MB, free: 14.38 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.002277/0.002277, allocations: 76.69 kB / 490.9 MB, free: 28.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.115, allocations: 62.45 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004232/0.1193, allocations: 2.865 MB / 0.5431 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1209, allocations: 0.7984 MB / 0.5439 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1211, allocations: 15.94 kB / 0.5439 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1213, allocations: 63.31 kB / 0.544 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1216, allocations: 118.9 kB / 0.5441 GB, free: 404 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.1219, allocations: 123.8 kB / 0.5442 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.1224, allocations: 442.5 kB / 0.5446 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.1227, allocations: 194.1 kB / 0.5448 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.123, allocations: 175.3 kB / 0.545 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1232, allocations: 203.1 kB / 0.5452 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.1233, allocations: 32 kB / 0.5452 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.294e-05/0.1234, allocations: 43.88 kB / 0.5453 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.1235, allocations: 75.7 kB / 0.5453 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.1237, allocations: 210.9 kB / 0.5455 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.1242, allocations: 461.9 kB / 0.546 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1242, allocations: 0 / 0.546 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1242, allocations: 0 / 0.546 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1242, allocations: 4 kB / 0.546 GB, free: 14.46 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.001025/0.1252, allocations: 0.6859 MB / 0.5467 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1253, allocations: 8.031 kB / 0.5467 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/0.1256, allocations: 72.62 kB / 0.5467 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.1261, allocations: 307.4 kB / 0.547 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1261, allocations: 37.31 kB / 0.5471 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.1262, allocations: 36.38 kB / 0.5471 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.1269, allocations: 385.3 kB / 0.5475 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.1269, allocations: 3.953 kB / 0.5475 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.127, allocations: 19.94 kB / 0.5475 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.127, allocations: 12 kB / 0.5475 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.1275, allocations: 243.8 kB / 0.5477 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1292, allocations: 1.101 MB / 0.5488 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.1298, allocations: 355.5 kB / 0.5491 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.1301, allocations: 170.5 kB / 0.5493 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1301, allocations: 4 kB / 0.5493 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1302, allocations: 42.5 kB / 0.5493 GB, free: 10.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.854e-06/0.1302, allocations: 3.938 kB / 0.5494 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004201/0.1344, allocations: 2.461 MB / 0.5518 GB, free: 8.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.1345, allocations: 114.8 kB / 0.5519 GB, free: 7.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1348, allocations: 250.7 kB / 0.5521 GB, free: 7.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1348, allocations: 33.7 kB / 0.5521 GB, free: 7.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1349, allocations: 180.9 kB / 0.5523 GB, free: 7.465 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.1351, allocations: 214.1 kB / 0.5525 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.1353, allocations: 82.25 kB / 0.5526 GB, free: 7.164 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1355, allocations: 350.7 kB / 0.5529 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.1358, allocations: 137 kB / 0.5531 GB, free: 6.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.1361, allocations: 227.8 kB / 0.5533 GB, free: 6.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.1368, allocations: 398 kB / 0.5537 GB, free: 5.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1368, allocations: 4 kB / 0.5537 GB, free: 5.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001081/0.1379, allocations: 0.5619 MB / 0.5542 GB, free: 5.414 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1379, allocations: 8 kB / 0.5542 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1379, allocations: 8.094 kB / 0.5542 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.1383, allocations: 114.5 kB / 0.5543 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.1387, allocations: 99.88 kB / 0.5544 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004894/0.1436, allocations: 5.219 MB / 0.5595 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.1439, allocations: 24.08 kB / 0.5595 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.144, allocations: 20 kB / 0.5596 GB, free: 15.5 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.0002258/0.1442, allocations: 165.8 kB / 0.5597 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1443, allocations: 39.77 kB / 0.5598 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.857e-05/0.1444, allocations: 46.17 kB / 0.5598 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.1444, allocations: 8 kB / 0.5598 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/0.1445, allocations: 11.94 kB / 0.5598 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.1445, allocations: 3.984 kB / 0.5598 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.1466, allocations: 1.315 MB / 0.5611 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1466, allocations: 4 kB / 0.5611 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.147, allocations: 95.83 kB / 0.5612 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.1473, allocations: 102.5 kB / 0.5613 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.1474, allocations: 19.92 kB / 0.5613 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/0.1512, allocations: 4.435 MB / 0.5657 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1512, allocations: 0 / 0.5657 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.1526, allocations: 0.9291 MB / 0.5666 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1527, allocations: 108.9 kB / 0.5667 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.1527, allocations: 12.06 kB / 0.5667 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.153, allocations: 19.98 kB / 0.5667 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1531, allocations: 51.88 kB / 0.5667 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.1532, allocations: 16 kB / 0.5668 GB, free: 7.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.1533, allocations: 174 kB / 0.5669 GB, free: 7.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1533, allocations: 0 / 0.5669 GB, free: 7.391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006821/0.154, allocations: 127.9 kB / 0.567 GB, free: 7.266 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.0001429/0.1542, allocations: 111.1 kB / 0.5672 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.1555, allocations: 0.7779 MB / 0.5679 GB, free: 6.332 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1556, allocations: 0 / 0.5679 GB, free: 6.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007974/0.1564, allocations: 0.5715 MB / 0.5685 GB, free: 5.723 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.157, allocations: 59.47 kB / 0.5685 GB, free: 5.668 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.1588, allocations: 1.131 MB / 0.5696 GB, free: 4.492 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.1593, allocations: 0.8202 MB / 0.5704 GB, free: 3.645 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.423e-05/0.1594, allocations: 39.36 kB / 0.5705 GB, free: 3.605 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1594, allocations: 0 / 0.5705 GB, free: 3.605 MB / 430.1 MB Notification: Performance of Templates: time 0.01251/0.1719, allocations: 9.452 MB / 0.5797 GB, free: 10.15 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.72493329003919]